Thom Park wrote:

Hi,

I’m attempting to add a new schema to ApacheDS and am hitting a spot of bother.

The firs issue is with building ApacheDS itself.

I’ve hit two snags that I can’t seem to work around (I’m using JDK 1.5.0_04 b.t.w.).

   1. aspectjrt.jar not found in classpath.

No matter what I do – I cannot get this part of the goal-set to build. I tried downloading the latest aspectj jar (aspectj-1.2.jar), renamed it to aspectjrt.jar and placed it in my classpath (environment) to no avail, the maven build does not find it and then complains.


This jar is not longer used with ApacheDS. You're using an older version.

   2. Compile-time errors.

I get the following build errors:

D:\apacheds-0.9\apacheds-0.9\core\src\main\java\org\apache\ldap\server\authn\Aut

henticatorConfigBuilder.java:67 error The type AbstractStringBuilder is not visi

ble

buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

D:\apacheds-0.9\apacheds-0.9\core\src\main\java\org\apache\ldap\server\authn\Aut

henticatorConfigBuilder.java:80 error The type AbstractStringBuilder is not visi

ble

buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

D:\apacheds-0.9\apacheds-0.9\core\src\main\java\org\apache\ldap\server\db\gui\En

tryNode.java:191 error The type AbstractStringBuilder is not visible

buf.append( "(" ).append( id ).append( ") " );

^^^^

And so forth…

As far as I can tell, the schema generation goal doesn’t get reached because of these earlier failures.

Can someone advise me of what I could be doing wrong and/or point me at a build/howto for ApacheDS that goes into a little more detail than that on the web-site – it’s a little on the light side and, since I’m by no means an expert in Maven, am not getting very far working this out for myself.

Move up to the ApacheDS 0.9.2 release tag if you are going to build.

Alex

Reply via email to