PDA

View Full Version : Problem building examples



juliogodel
Jan 12th, 2007, 01:18 PM
Hi Guys,

I´m 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?:confused: 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

rasky
Jan 13th, 2007, 01:13 AM
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.

juliogodel
Jan 13th, 2007, 01:51 PM
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. I´ve searched for the source and binary javacc and in fact he didn´t donwloaded

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

juliogodel
Jan 13th, 2007, 01:56 PM
Thank you, but he still complains about the javacc dir. I´ve searched for the source and binary javacc and in fact he didn´t donwloaded

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

I´ve 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

ulsa
Jan 13th, 2007, 02:07 PM
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.