Chris Betts wrote:
> O.k., so the missing step was that maven has to be run from the
> directory with the project.xml file in it. (I thought it was like
> make, and would recursively make everything :-) ). So I'm now working
> from the /apacheds/trunk directory (which is where I'm supposed to be?).
>
Great!
> However it still isn't working - as far as I can make out it's missing
> a jar called "aspectjrt.jar" when attempting to compile the apacheDS
> core.
>
Nah that's just a bogus system out. The aspectjrt stuff is working just
fine if you see here ...
[echo] Compiling to
D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
sses
warning couldn't find aspectjrt.jar on classpath, checked:
aspectj:init:
aspectj:compile:
So you're ok with that.
> Can anyone offer any pointers? I've done a fresh check out and
> everything seems up to date. I'm including the build output below.
The problem is that evey test case is failing as you can see below.
It's been a while since I have compiled the trunk. I will try soon but
take a look at the test reports to see what they are saying.
Look your tests failing here ...
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Core
> | Memory: 13M/20M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
> Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
> Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
> Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
> Attempting to download mina-0.7-SNAPSHOT.jar.
> Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar.
> jar:jar:
>
> plugin:repository-install:
>
> build:end:
> build:start:
> multiproject:install-callback:
> [echo] Running jar:install for ApacheDS Core
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> java:prepare-filesystem:
> java:compile:
> directory:schema:
> directory:init:
> directory:prepare-filesystem:
> directory:generate:
>
> [echo] Compiling to
> D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
> sses
> warning couldn't find aspectjrt.jar on classpath, checked:
> aspectj:init:
> aspectj:compile:
>
> java:jar-resources:
> test:prepare-filesystem:
> test:test-resources:
> test:compile:
> test:test:
> [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
> [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 2.766 sec
> [junit] [ERROR] TEST
> org.apache.ldap.server.authn.SimpleAuthenticationTest F
> AILED
> [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
> [junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 0.062 sec
> [junit] [ERROR] TEST
> org.apache.ldap.server.authz.AuthorizationServiceTest F
> AILED
> [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
> [junit] Tests run: 21, Failures: 0, Errors: 21, Time elapsed: 0.094 sec
> [junit] [ERROR] TEST
> org.apache.ldap.server.exception.ExceptionServiceTest F
> AILED
> [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
> [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.234 sec
> [junit] [ERROR] TEST
> org.apache.ldap.server.interceptor.ConfigurationTest FA
> ILED
> [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.391 sec
> [junit] Running org.apache.ldap.server.jndi.CreateContextTest
> [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
> [junit] [ERROR] TEST org.apache.ldap.server.jndi.CreateContextTest
> FAILED
> [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
> [junit] [ERROR] TEST org.apache.ldap.server.jndi.DestroyContextTest
> FAILED
> [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
> [junit] [ERROR] TEST
> org.apache.ldap.server.jndi.ImportConfirmationTest FAIL
Alex
|