Announcement Announcement Module
Collapse
No announcement yet.
Problem building examples Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem building examples

    Hi Guys,

    Im trying to build the examples from spring-ldap i.e. spring-ldap-article and spring-ldap-person, but the build complains with many unresolved references. Is everything ok with the build? Below is last lines from my build.

    Thank you,
    Julio Cesar

    [resolve.conf] :: resolution report ::
    [resolve.conf] :: evicted modules:
    [resolve.conf] [ commons-lang | commons-lang | 2.0 ] by [[ commons-lang | commo
    ns-lang | 2.1 ]] in [global]
    [resolve.conf] [ org.springframework | spring-jdbc | 1.2.7 ] by [[ org.springfr
    amework | spring-jdbc | 2.0.1 ]] in [global]
    [resolve.conf] [ org.springframework | spring-remoting | 1.2.7 ] by [[ org.spri
    ngframework | spring-remoting | 2.0.1 ]] in [global]
    [resolve.conf] [ org.springframework | spring-support | 1.2.7 ] by [[ org.sprin
    gframework | spring-support | 2.0.1 ]] in [global]
    [resolve.conf] [ org.apache.directory.shared | shared-asn1 | 0.9.5 ] by [[ org.
    apache.directory.shared | shared-asn1 | 0.9.5.1 ]] in [global]
    ---------------------------------------------------------------------
    | | modules || artifacts |
    | conf | number| search|dwnlded|evicted|| number|dwnlded|
    ---------------------------------------------------------------------
    | global | 40 | 1 | 0 | 5 || 34 | 0 |
    | buildtime | 1 | 0 | 0 | 0 || 1 | 0 |
    | test | 6 | 0 | 0 | 0 || 6 | 0 |
    | source | 4 | 1 | 0 | 0 || 3 | 0 |
    ---------------------------------------------------------------------
    [resolve.conf]
    [resolve.conf] :: problems summary ::
    [resolve.conf] :::: WARNINGS
    [resolve.conf] ::::::::::::::::::::::::::::::::::::::::::::::
    [resolve.conf] :: UNRESOLVED DEPENDENCIES ::
    [resolve.conf] ::::::::::::::::::::::::::::::::::::::::::::::
    [resolve.conf] :: [ org.springframework | spring-ldap | 1.1 ]: configur
    ation(s) not found in [ org.springframework | spring-ldap | 1.1 ]: source. It wa
    s required from [ org.springframework | spring-ldap-person-sample | working@atla
    ntico1488 ] source
    [resolve.conf] ::::::::::::::::::::::::::::::::::::::::::::::
    [resolve.conf]
    [resolve.conf]
    [resolve.conf] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

  • #2
    You'll need to run the 'dist' target in the spring-ldap project before you build the example projects. We'll try to improve building instructions for further releases.

    Comment


    • #3
      Originally posted by rasky View Post
      You'll need to run the 'dist' target in the spring-ldap project before you build the example projects. We'll try to improve building instructions for further releases.
      Thank you, but he still complains about the javacc dir. Ive searched for the source and binary javacc and in fact he didnt donwloaded

      BUILD FAILED
      C:\spring-ldap-buildable-1.1.2\spring-ldap\spring-ldap\build.xml:87: JavaCC home
      must be a valid directory.

      Comment


      • #4
        Originally posted by juliogodel View Post
        Thank you, but he still complains about the javacc dir. Ive searched for the source and binary javacc and in fact he didnt donwloaded

        BUILD FAILED
        C:\spring-ldap-buildable-1.1.2\spring-ldap\spring-ldap\build.xml:87: JavaCC home
        must be a valid directory.
        Ive downloade Javacc4.0 and changed the directory in the project.properties and is working now. It seems that javacc package is not being downloaded.

        Thank you
        Julio Cesar

        Comment


        • #5
          You're right. Javacc 4.0 is required in order to build Spring LDAP. As Mattias pointed out, we will improve the build instructions for the upcoming release.

          Comment

          Working...
          X