Apache Directory Project - RE: [ApacheDS] checkout problem

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > December 2005 > RE: [ApacheDS] checkout problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: [ApacheDS] checkout problem
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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com