04-26-07 06:11 PM
Hi,
I've just downloaded the stable version 1.0.1 of apacheDS and I'm trying to
add a new schema (to integrate a uddi server). I am using Java version 1.6.
As I'm new to apacheDS and LDAP (and Maven), I'm following the example in the online ad
vanced user guide at [url]http://directory.apache.org/apacheds/1.0/custom-schema.html[/
url]
All goes fine up to the step labelled "Compiling, and running tests on the e
xample car.schema". When I tried this, the first compile error I got was tha
t the generated code used generics (a Java 1.5 feature), but the compiler wa
s trying to use Java 1.3
source level.
I found out that I could specify the source and target level in the pom.xml
file, and that got rid of the version problem. However, I then got lots of c
ompile errors because of two missing packages which the generated Java code
was trying to import. The
packages were:
org.apache.directory.server.schema.bootstrap
org.apache.directory.server.schema.registries
I don't know where this is coming from.
I looked in the apacheds-core-1.0.1.jar file, and found the package:
org.apache.directory.server.core.schema.bootstrap
..so perhaps the package names have changed, and the maven project for this
example no longer matches the apacheDS libraries.
Can anybody help with this?
Regards,
Trevor.
---------------------------------
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up f
or your freeaccount today.
[ Post a follow-up to this message ]
|