directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Re: Building trunk apacheds
Date Tue, 16 Oct 2007 18:56:51 GMT
Alex Karasulu schrieb:
> 
> On 10/16/07, *Felix Knecht* <felixk@apache.org
> <mailto: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/
> 

I don't have the ldap module within my checkout.

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

No, it's 5 minutes old.

I followed the docs ->
- svn co http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies/ apacheds-trunk
- cd <root of apache directory server sources> (which is in this case apacheds-trunk/apacheds)
- mvn clean (this works)
- cd <root of apache directory server sources> (which is in this case apacheds-trunk/apacheds)
- mvn install

If I understand right I should have also a module 'ldap' in apacheds-trunk/apacheds?

Mabe it's best to checkout http://svn.apache.org/repos/asf/directory/apacheds/trunk instead
of trunk-with-dependencies?

Felix

> 
> 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
> 


Mime
View raw message