problem compiling a new schema for ApacheDS
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > problem compiling a new schema for ApacheDS




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    problem compiling a new schema for ApacheDS  
Trevor Ryan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: problem compiling a new schema for ApacheDS  
aubrey


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-01-07 12:11 AM


I'm having the exact same issue.  I'm on Java version 1.5.  I've tried using
both the apacheds-core-1.0.0 and 1.0.1 jars to no avail (both contain the
'new' package names: org.apache.directory.server.core.*).  As with Trevor,
any help would be greatly appreciated.

-Aubrey-




Trevor Ryan wrote:
>
> 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 advanced user guide at
> http://directory.apache.org/apached...tom-schema.html
>
>   All goes fine up to the step labelled "Compiling, and running tests on
> the example car.schema". When I tried this, the first compile error I got
> was that the generated code used generics (a Java 1.5 feature), but the
> compiler was 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 compile 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 for your freeaccount today.
>

--
View this message in context: http://www.nabble.com/problem-compi....html#a10260090
Sent from the Apache Directory Project mailing list archive at Nabble.com.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:38 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register