| Jeff Lansing 2005-12-13, 5:45 pm |
| 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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]=20
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-6PsT7PARKNC5jOOfXgogbA@public.gmane.org> 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\cor
e/target/classes
> [javac] Compiling 410 source files to
> C:\apacheds\directory\apacheds\trunk\cor
e\target\classes
>
C:\apacheds\directory\apacheds\trunk\cor
e\src\main\java\org\apache\ldap\s=
erv
> 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
|