On 10/16/07, Felix Knecht <felixk@apache.org> wrote:
Hi all

I just tried to build apacheds the first time and followed the description [1] and ran into following problems:

SNIP ... 

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/svn/apache/directory/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java:[48,46]
cannot find symbol
symbol  : class AndNode
location: package org.apache.directory.shared.ldap.filter

symbol  : class EqualityNode
symbol  : class OrNode
symbol  : class ChangeType

...

These classes seem to be present in the expected location here:

    http://svn.apache.org/repos/asf/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/

When did you check out the code? Perhaps you need to svn update if it has been a while.

If you checked out the code just now where did you issue the "mvn install" command? If you
did it inside apacheds-trunk/apacheds then you'll get old jars from the SNAPSHOT repo which
will not have these classes most likely since we fail repeatedly at this project to update the
SNAPSHOT repository :(.  Sorry about that.  So just build from the top in the apacheds-trunks
directory which will also build the shared-ldap classes.

Let us know how it works out.

HTH,
Alex