|
Home > Archive > Apache Directory Project > October 2007 > [SOLVED] Re: Building trunk apacheds
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 |
[SOLVED] Re: Building trunk apacheds
|
|
| Felix Knecht 2007-10-16, 7:11 pm |
| I got it.
I need to build the 'shared' project first, then it works like a charm. Sorry for the noise.
Felix
PS:
I haven't seen this in the documentation mentioned, did I overread it?
Alex Karasulu schrieb:
>
> On 10/16/07, *Felix Knecht* <felixk-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org
> <mailto:felixk-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.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/dir...ed/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
>
| |
| Alex Karasulu 2007-10-16, 7:11 pm |
| I don't think it may have stressed building from the top. Which it probably
should do with a warning
sign. I'll take a look and add it.
Alex
On 10/16/07, Felix Knecht <felixk-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
>
> I got it.
>
> I need to build the 'shared' project first, then it works like a charm.
> Sorry for the noise.
>
> Felix
>
> PS:
> I haven't seen this in the documentation mentioned, did I overread it?
>
>
> Alex Karasulu schrieb:
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
> /svn/apache/directory/apacheds/core/src/main/java/org/apache/directory/server/core/schema/SchemaPartitionDao.java:[48,46]
> http://svn.apache.org/repos/asf/dir...ed/ldap/filter/
>
>
| |
| Alex Karasulu 2007-10-16, 7:11 pm |
| I updated the documentation on building the server as well as the installers
which were incorrect due to
shifts in the structure of the project that resulted in the course of the
1.5.0->1.5.1 releases. Here's that
link again:
http://directory.apache.org/apached...-Gettingthecode
You'll see a warning about issuing maven commands from the top.
WARNING: <Shift> refresh may be a good idea on your browser.
Alex
On 10/16/07, Alex Karasulu <akarasulu-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
>
> I don't think it may have stressed building from the top. Which it
> probably should do with a warning
> sign. I'll take a look and add it.
>
> Alex
>
> On 10/16/07, Felix Knecht <felixk-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
>
| |
| Felix Knecht 2007-10-16, 7:11 pm |
| Alex Karasulu schrieb:
> I updated the documentation on building the server as well as the
> installers which were incorrect due to
> shifts in the structure of the project that resulted in the course of
> the 1.5.0->1.5.1 releases. Here's that
> link again:
>
> http://directory.apache.org/apached...-Gettingthecode
>
> You'll see a warning about issuing maven commands from the top.
This would have helped me for sure. Maybe it's helpfull for less used maven-users to say that the modules in addition
(share, installers? and daemon?) must be build before trying to build apacheds. I'm not sure about the dependencies, but
for me it seems logical to build in order
- share
- apacheds
- daemon/installers
Maybe you could indicate the build order in the "Issue Commands From Top" (or somewhere above) as well.
Felix
|
|
|
|
|