directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Lansing" <jlans...@spawar.navy.mil>
Subject RE: [ApacheDS] checkout problem
Date Tue, 13 Dec 2005 21:06:10 GMT
Ok. I do maven multiproject:install instead (in directory/apacheds/trunk).
But I still get the same compile error.

I see that LdapName.EMPTY_LDAP_NAME is defined in the LdapName.java source,
so there might be some jar in the way, containing an older version of
LdapName.

Unfortunately, I don't understand enough about the way the build works to
fix this myself.

Any suggestions would be greatly appreciated.

Thanks,

Jeff


-----Original Message-----
From: Ersin Er [mailto:ersin.er@gmail.com] 
Sent: Tuesday, December 13, 2005 11:45 AM
To: Apache Directory Developers List
Subject: Re: [ApacheDS] checkout problem

On 12/13/05, Jeff Lansing <jlansing@spawar.navy.mil> wrote:
> Ok, the script works on Windows as advertised.
>
> Now what I think I'm supposed to do is to cd into directory/apacheds/trunk
> and run maven.

apacheds is a multi part project. So you should invoke maven as:

maven multiproject:install

("install" will build a jar in your repository for you.)

> When I do that I get a compile error:
>
> ...
>     [echo] Compiling to
> C:\apacheds\directory\apacheds\trunk\core/target/classes
>     [javac] Compiling 410 source files to
> C:\apacheds\directory\apacheds\trunk\core\target\classes
>
C:\apacheds\directory\apacheds\trunk\core\src\main\java\org\apache\ldap\serv
> er\jndi\ServerContext.java:573: cannot find symbol
> symbol  : variable EMPTY_LDAP_NAME
> location: class org.apache.ldap.common.name.LdapName
>                 return lookup( LdapName.EMPTY_LDAP_NAME );
>                                        ^
> 1 error
>
> BUILD FAILED
>
> What am I missing?
>
> Jeff
>
>
>


--
Ersin



Mime
View raw message