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 Tue, 07 Sep 2010 14:12:45 GMT
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
>>>> org.apache.directory.shared.ldap.message package is empty..
>>>
>>> can you provide the URL for this package ?
>>>
>>
>> http://svn.apache.org/repos/asf/directory/clients/ldap/trunk/ldap-client-api/src/main/java/org/apache/directory/shared/ldap/
>
> I just removed this empty package.
>
> Anyway, this should not break the build.
>
> I just ran a complete build, with tests, and everything went fine.
>
> You may have some old versions of shared in your maven repos... Can you doom
> it and try again after having built shared ?
>
Deleted the ~/m2/* and did a mvn compile and this forced the mvn to
download the whole stuff... and verified that if forcefully downloads
the shared-ldap jar ... but the compile still fails. In the newly
created repo opened the shared-ldap-0.9.20-20100605.082926-165.jar and
in this i could actually not find the files which the compiler is
actually cribbing aganist ... for ex:
org.apache.directory.shared.ldap.message.Response is not there in
shared-ldap-0.9.20-20100605.082926-165.jar downloaded by mvn... not
sure what is the issue.. In the pom.xml file i see the dependency
mapped as shown below. Should i edit some stuff here... ?? If i can
get this to work, i guess we will have a good HOW TO KickStart guide
for new users  :)

<dependency>
      <groupId>org.apache.directory.shared</groupId>
      <artifactId>shared-ldap</artifactId>
      <version>${org.apache.directory.shared.version}</version>
    </dependency>

************************************ mvn compile output
************************************
Downloading: http://repo1.maven.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar
Downloading: http://repo1.maven.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar

1332K downloaded  (shared-ldap-0.9.20-20100605.082926-165.jar)
....
26K downloaded  (shared-ldap-schema-loader-0.9.20-20100605.082926-165.jar)
...
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.13/plexus-interpolation-1.13.jar
....
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 3 resources
Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
...
Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.6/plexus-compiler-javac-1.6.jar
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 32 source files to
D:\os\apacheLDAP\devEnv\ldap-client-api\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \os\apacheLDAP\devEnv\ldap-client-api\src\main\java\org\apache\directory\ldap\client\api\SearchCursor.java:[30,47]
cannot find sy
l
symbol  : class Response
location: package org.apache.directory.shared.ldap.message

[ERROR] \os\apacheLDAP\devEnv\ldap-client-api\src\main\java\org\apache\directory\ldap\client\api\SearchCursor.java:[31,47]
cannot find sy
l
symbol  : class SearchResultDone
location: package org.apache.directory.shared.ldap.message

[ERROR] \os\apacheLDAP\devEnv\ldap-client-api\src\main\java\org\apache\directory\ldap\client\api\future\SearchFuture.java:[28,47]
cannot
d symbol
symbol  : class Response
location: package org.apache.directory.shared.ldap.message

[ERROR] \os\apacheLDAP\devEnv\ldap-client-api\src\main\java\org\apache\directory\ldap\client\api\future\SearchFuture.java:[36,49]
cannot
d symbol
symbol: class Response
public class SearchFuture extends ResponseFuture<Response>

Mime
View raw message