directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind N <arvind.open...@gmail.com>
Subject Re: issues in compiling latest checked out src..
Date Wed, 08 Sep 2010 13:04:27 GMT
On Wed, Sep 8, 2010 at 1:28 PM, Emmanuel Lécharny <elecharny@apache.org> wrote:
>
>> On Tue, Sep 7, 2010 at 8:02 PM, Emmanuel Lécharny<elecharny@apache.org>
>>  wrote:
>>>>
>>>> On Tue, Sep 7, 2010 at 6:58 PM, Emmanuel Lécharny<elecharny@apache.org>
>>>>  wrote:
>>>>>>>>
>>>>>>>> But when i do svn checked out the from the above URL, the
>>>
>>> You must build shared first (from trunk), and then the API.
>>
>> Is the trunk SVN URL in the
>> http://directory.apache.org/community%26resources/sources.html page ??
>> for the LDAP API i see only this as the URL... which URL should i use
>> to get the shared trunk.. ??
>>                        Apache LDAP
>> API     http://svn.apache.org/repos/asf/directory/clients/ldap/trunk/
>
> get everything from
> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>
> and build everything from there (including the server).
>
> It will take a while, but it's safe.
>

Thanks for the info. Just did a clean of everything deleted all
directories downloaded the whole trunk
in a diff location... and on mvn compile is still see one issue..
given below...

[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS JDBM Partition
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [remote-resources:process {execution: default}]
[INFO] snapshot
org.apache.directory.server:apacheds-xdbm-partition:1.5.8-SNAPSHOT:
checking for updates from apache.snapshots
Downloading: https://repository.apache.org/content/repositories/snapshots//org/apache/directory/server/apacheds-xdbm-partition/1.5.8-SNAPSHO
T/apacheds-xdbm-partition-1.5.8-20100605.082926-1-tests.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the
reactor. Reason: Missing:
----------
1) org.apache.directory.server:apacheds-xdbm-partition:jar:tests:1.5.8-SNAPSHOT

  Try downloading the file manually from the project website.

 ...
  Path to dependency:
        1) org.apache.directory.server:apacheds-jdbm-partition:jar:1.5.8-SNAPSHOT
        2) org.apache.directory.server:apacheds-xdbm-partition:jar:tests:1.5.8-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
  org.apache.directory.server:apacheds-jdbm-partition:jar:1.5.8-SNAPSHOT

from the specified remote repositories:
  apache.snapshots
(https://repository.apache.org/content/repositories/snapshots/),
  central (http://repo1.maven.org/maven2)
...

Workaround, i went to this location..
https://repository.apache.org/content/repositories/snapshots//org/apache/directory/server/apacheds-xdbm-partition/1.5.8-SNAPSHOT/

manually downloaded the jar
(apacheds-xdbm-partition-1.5.8-20100605.082926-1.jar) and couple of
XMLs to my local repo tried compile and it failed. So manually renamed
the jar to apacheds-xdbm-partition-1.5.8-20100605.082926-1-tests.jar
and then did a compile and it went through.

Maybe the repo should have had the name as
apacheds-xdbm-partition-1.5.8-20100605.082926-1-tests.jar to start off
or something ... not sure of the problem,
but thanks for all the patience and help..

~A

Mime
View raw message