You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Ben Walding <be...@walding.com> on 2005/04/07 04:11:40 UTC

apacheds-0.8 not binding to all interfaces

Hi,
  I was wondering if there was a way to make apacheds-main (0.8) to bind 
to all interfaces rather than just randomly picking one (something based 
on hostnames as far as I can tell).

  eg. on my Windows XP box (JDK 1.5) it starts up ok
java -jar apacheds-0.8.jar
server: using default properties ...
server: started in 1906 milliseconds

 However then the server only listens on interface 192.168.0.4.  I'd 
prefer that it listened on every interface or was at least controllable 
(I'm using it as a test ldap server, I'd rather set 127.0.0.1 so my 
tests don't change when I switch IP addresses)

 Running on Linux (SuSE 9.1, JDK 1.5) it starts up ok and was only 
listening on 127.0.0.1.  I managed to change the hosts file so that it 
listened on the external IP address (it's a server on my local network - 
I want it on the public IP now).

 my hosts file originally looked like
 127.0.0.1 localhost ldaphost
 to change binding to 192.168.0.2, I changed it to
 127.0.0.1 localhost
 192.168.0.2 ldaphost


Any thoughts?

Cheers,

Ben

Re: Newbie qn de jour: where is ldap-common-0.8.jar?

Posted by Chris Betts <ch...@pegacat.com>.
Hokay - I'll try that instead, thanks!

I'll just need to get subversion set up; I'm still stuck in the stone 
age with cvs :-).

    - Chris


On 07/04/2005, at 5:43 PM, Emmanuel Lecharny wrote:

> apacheds-0.8 has disappeared from the repository, don't know why.
> Definitively use a check-out. 0-9 is out soon.
>
> Sorry for the inconvenience...
>
> Emmanuel Lécharny
>
> On Thu, 2005-04-07 at 01:14 -0400, chris@pegacat.com wrote:
>> Hi Folks,
>>
>>   apologies for the basic question, but I'm very new to Maven :-).  
>> I'm
>> trying to set up the apache directory project on Win XP / java 
>> 1.4.02_4.
>> I've installed maven and unziped apacheds-0.8-src.zip and 
>> apacheds-0.8.zip.
>>
>>   When I run maven multiproject, there's a lot of happy whirring and
>> clicking, but after successfully downloading a bunch of jars maven 
>> grinds to
>> a halt with the message:
>>  ...
>>  Attempting to download ldap-common-0.8.jar.
>>  WARNING: Failed to download ldap-common-0.8.jar.
>>  ...
>>
>>   Any clues to what I'm doing wrong?  Do I need to manually download 
>> a jar
>> or something?  I've had a browse through the doco and the (*cough* 
>> recent
>> *cough*) mailing lists, but couldn't figure it out.
>>
>>   - Chris Betts
>>
>> (JXplorer ldap browser project - jxplorer.org)
>>
>>
>>
>> P.S. - FWIW, here's the complete maven dump:
>>
>> D:\java\apacheDS\apacheds-0.8>maven multiproject
>> __  __
>> |  \/  |__ _Apache__ ___
>> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>>
>> Plugin cache will be regenerated
>> Attempting to download junit-3.8.1.jar.
>> 118K downloaded
>> Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
>> 14K downloaded
>> Attempting to download commons-jelly-tags-log-20030211.142821.jar.
>> 8K downloaded
>> Attempting to download 
>> commons-jelly-tags-velocity-20030303.205659.jar.
>> 7K downloaded
>> Attempting to download velocity-1.4-dev.jar.
>> 351K downloaded
>> Attempting to download velocity-dvsl-0.45.jar.
>> 25K downloaded
>> Attempting to download isorelax-20030108.jar.
>> 188K downloaded
>> Attempting to download jing-20030619.jar.
>> 475K downloaded
>> Attempting to download commons-net-1.1.0.jar.
>> 139K downloaded
>> Attempting to download jsch-0.1.5.jar.
>> 79K downloaded
>> build:start:
>>
>> multiproject:projects-init:
>>    [echo] Gathering project list
>> Starting the reactor...
>> Our processing order:
>> ApacheDS Shared
>> ApacheDS Protocol
>> ApacheDS Plugin
>> ApacheDS Core
>> ApacheDS Main
>> +----------------------------------------
>> | Gathering project list ApacheDS Shared
>> | Memory: 7M/8M
>> +----------------------------------------
>> +----------------------------------------
>> | Gathering project list ApacheDS Protocol
>> | Memory: 7M/8M
>> +----------------------------------------
>> +----------------------------------------
>> | Gathering project list ApacheDS Plugin
>> | Memory: 7M/8M
>> +----------------------------------------
>> +----------------------------------------
>> | Gathering project list ApacheDS Core
>> | Memory: 7M/8M
>> +----------------------------------------
>> +----------------------------------------
>> | Gathering project list ApacheDS Main
>> | Memory: 7M/8M
>> +----------------------------------------
>>
>> multiproject:site-init:
>>    [mkdir] Created dir: 
>> D:\java\apacheDS\apacheds-0.8\target\generated-xdocs
>> Starting the reactor...
>> Our processing order:
>> ApacheDS Shared
>> ApacheDS Protocol
>> ApacheDS Plugin
>> ApacheDS Core
>> ApacheDS Main
>> +----------------------------------------
>> | Generating site for  ApacheDS Shared
>> | Memory: 7M/8M
>> +----------------------------------------
>> Attempting to download ldap-common-0.8.jar.
>> WARNING: Failed to download ldap-common-0.8.jar.
>>
>> BUILD FAILED
>> File...... C:\Documents and
>> Settings\Chris\.maven\cache\maven-multiproject-plugi
>> n-1.3.1\plugin.jelly
>> Element... maven:reactor
>> Line...... 103
>> Column.... 9
>> The build cannot continue because of the following unsatisfied 
>> dependency:
>>
>> ldap-common-0.8.jar
>>
>> Total time: 1 minutes 35 seconds
>> Finished at: Thu Apr 07 14:36:16 EST 2005
>>
>>
>>
>>
>>
>
>


Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?)

Posted by Alex Karasulu <ao...@bellsouth.net>.
Chris Betts wrote:

> O.k., so the missing step was that maven has to be run from the 
> directory with the project.xml file in it.  (I thought it was like 
> make, and would recursively make everything :-) ).  So I'm now working 
> from the /apacheds/trunk directory (which is where I'm supposed to be?).
>
Great!

> However it still isn't working - as far as I can make out it's missing 
> a jar called "aspectjrt.jar" when attempting to compile the apacheDS 
> core.
>
Nah that's just a bogus system out.  The aspectjrt stuff is working just 
fine if you see here ...

  [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
sses
warning couldn't find aspectjrt.jar on classpath, checked:
aspectj:init:
aspectj:compile:

So you're ok with that. 

> Can anyone offer any pointers?  I've done a fresh check out and 
> everything seems up to date. I'm including the build output below.

The problem is that evey test case is failing as you can see below.  
It's been a while since I have compiled the trunk.  I will try soon but 
take a look at the test reports to see what they are saying.

Look your tests failing here ...

> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Core
> | Memory: 13M/20M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
> Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
> Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
> Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
> Attempting to download mina-0.7-SNAPSHOT.jar.
> Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar.
> jar:jar:
>
> plugin:repository-install:
>
> build:end:
> build:start:
> multiproject:install-callback:
>   [echo] Running jar:install for ApacheDS Core
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> java:prepare-filesystem:
> java:compile:
> directory:schema:
> directory:init:
> directory:prepare-filesystem:
> directory:generate:
>
>   [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
> sses
> warning couldn't find aspectjrt.jar on classpath, checked:
> aspectj:init:
> aspectj:compile:
>
> java:jar-resources:
> test:prepare-filesystem:
> test:test-resources:
> test:compile:
> test:test:
>   [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
>   [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 2.766 sec
>   [junit] [ERROR] TEST 
> org.apache.ldap.server.authn.SimpleAuthenticationTest F
> AILED
>   [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
>   [junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 0.062 sec
>   [junit] [ERROR] TEST 
> org.apache.ldap.server.authz.AuthorizationServiceTest F
> AILED
>   [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
>   [junit] Tests run: 21, Failures: 0, Errors: 21, Time elapsed: 0.094 sec
>   [junit] [ERROR] TEST 
> org.apache.ldap.server.exception.ExceptionServiceTest F
> AILED
>   [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
>   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.234 sec
>   [junit] [ERROR] TEST 
> org.apache.ldap.server.interceptor.ConfigurationTest FA
> ILED
>   [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
>   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.391 sec
>   [junit] Running org.apache.ldap.server.jndi.CreateContextTest
>   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
>   [junit] [ERROR] TEST org.apache.ldap.server.jndi.CreateContextTest 
> FAILED
>   [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
>   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>   [junit] [ERROR] TEST org.apache.ldap.server.jndi.DestroyContextTest 
> FAILED
>   [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
>   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>   [junit] [ERROR] TEST 
> org.apache.ldap.server.jndi.ImportConfirmationTest FAIL

Alex

Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?)

Posted by Alex Karasulu <ao...@bellsouth.net>.
Emmanuel Lecharny wrote:

>Hi !
>
>I think that the pb is not apspectj, but there is an implicit order that
>you must follow when compiling the project.
>
>  
>
Yeah E this used to be the case you are right but things have changed 
with the groupId changes.  Now when you build the apachds stuff its in a 
separate groupId than from say the ASN1 stuff.  So maven will pull 
dependendent group id jars down from the maven repository unless you 
turn off online mode.

>Starting with Apacheds is definitely not the good solution, as it relies
>on many other classes. I think that you must start with shared, asn1 and
>network before compiling apacheds.
>
>  
>
Again should work with recent groupId changes and ways in which deps are 
managed now that we are out of incubator.  Try an update and build 
again.  If not we can trouble shoot further.  I am curious what some of 
the test reports say.

>I perfectly agree that it is not very friendly, and must be improved... 
>
>  
>
+1

Alex


Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?)

Posted by Emmanuel Lecharny <el...@apache.org>.
Hi !

I think that the pb is not apspectj, but there is an implicit order that
you must follow when compiling the project.

Starting with Apacheds is definitely not the good solution, as it relies
on many other classes. I think that you must start with shared, asn1 and
network before compiling apacheds.

I perfectly agree that it is not very friendly, and must be improved... 

let us know if you finally succeeded in having the server up and
running.

I'm sorry, I can't help you anymore this morning (9AM here in France),
but I will follow your efforts from my office.

On Wed, 2005-04-20 at 13:24 +1000, Chris Betts wrote:
> O.k., so the missing step was that maven has to be run from the 
> directory with the project.xml file in it.  (I thought it was like 
> make, and would recursively make everything :-) ).  So I'm now working 
> from the /apacheds/trunk directory (which is where I'm supposed to 
> be?).
> 
> However it still isn't working - as far as I can make out it's missing 
> a jar called "aspectjrt.jar" when attempting to
>  compile the apacheDS 
> core.
> 
> Can anyone offer any pointers?  I've done a fresh check out and 
> everything seems up to date. I'm including the build output below.
> 
>    - Chris
> 
> -----8<---------------
> 
> D:\java\apacheDS\svn_head\apacheds\trunk>maven multiproject:install
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> build:start:
> multiproject:install:
> multiproject:projects-init:
>    [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Gathering project list ApacheDS Shared
> | Memory: 4M/4M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Plugin
> | Memory: 4M/4M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Core
> | Memory: 4M/4M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Main
> | Memory: 4M/4M
> +----------------------------------------
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Shared
> | Memory: 4M/4M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> multiproject:goal:
> build:start:
> multiproject:install-callback:
>    [echo] Running jar:install for ApacheDS Shared
> java:prepare-filesystem:
> java:compile:
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\shared/target/c
> lasses
>    [echo]
> ==========================================================
> NOTE: Targetting JVM 1.4, classes
> will not run on earlier JVMs
> ==========================================================
> 
> java:jar-resources:
> test:prepare-filesystem:
> test:test-resources:
> test:compile:
>    [echo] No test source files to compile.
> test:test:
>    [echo] No tests to run.
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\apacheds-s
> hared-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
> Settings\Chris\.maven\repository\d
> irectory\jars\apacheds-shared-0.9-SNAPSHOT.jar'
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\project.xml' to:
> 'C:\Documents and 
> Settings\Chris\.maven\repository\directory\poms\apacheds-share
> d-0.9-SNAPSHOT.pom'
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Plugin
> | Memory: 5M/6M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> jar:jar:
> jar:install:
> 
> build:end:
> build:start:
> multiproject:install-callback:
> plugin:plugin:
> java:prepare-filesystem:
> java:compile:
> antlr:prepare-filesystem:
> antlr:generate:
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin/target/c
> lasses
>    [echo]
> ==========================================================
> NOTE: Targetting JVM 1.4, classes
> will not run on earlier JVMs
> ==========================================================
> 
> java:jar-resources:
> test:prepare-filesystem:
> test:test-resources:
> test:compile:
> test:test:
>    [junit] Running 
> org.apache.ldap.server.tools.schema.AttributeTypesTemplateTe
> st
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.046 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.DirectorySchemaToolTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.672 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.ObjectClassesTemplateTes
> t
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.016 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.OpenLdapSchemaParserTest
>    [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 1.453 sec
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\maven-dire
> ctory-plugin-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
> Settings\Chris\.maven\repos
> itory\directory\plugins\maven-directory-plugin-0.9-SNAPSHOT.jar'
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\project.xml' to:
> 'C:\Documents and 
> Settings\Chris\.maven\repository\directory\poms\maven-director
> y-plugin-0.9-SNAPSHOT.pom'
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Core
> | Memory: 13M/20M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
> Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
> Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
> Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
> Attempting to download mina-0.7-SNAPSHOT.jar.
> Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar.
> jar:jar:
> 
> plugin:repository-install:
> 
> build:end:
> build:start:
> multiproject:install-callback:
>    [echo] Running jar:install for ApacheDS Core
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> java:prepare-filesystem:
> java:compile:
> directory:schema:
> directory:init:
> directory:prepare-filesystem:
> directory:generate:
> 
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
> sses
> warning couldn't find aspectjrt.jar on classpath, checked:
> aspectj:init:
> aspectj:compile:
> 
> java:jar-resources:
> test:prepare-filesystem:
> test:test-resources:
> test:compile:
> test:test:
>    [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
>    [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 2.766 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.authn.SimpleAuthenticationTest F
> AILED
>    [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
>    [junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 0.062 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.authz.AuthorizationServiceTest F
> AILED
>    [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
>    [junit] Tests run: 21, Failures: 0, Errors: 21, Time elapsed: 0.094 
> sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.exception.ExceptionServiceTest F
> AILED
>    [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
>    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.234 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.interceptor.ConfigurationTest FA
> ILED
>    [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.391 sec
>    [junit] Running org.apache.ldap.server.jndi.CreateContextTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.CreateContextTest 
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.DestroyContextTest 
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.jndi.ImportConfirmationTest FAIL
> ED
>    [junit] Running org.apache.ldap.server.jndi.ListTest
>    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ListTest FAILED
>    [junit] Running org.apache.ldap.server.jndi.ModifyContextTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ModifyContextTest 
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.ObjStateFactoryTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ObjStateFactoryTest 
> FAILED
>    [junit] Running 
> org.apache.ldap.server.jndi.PartitionContextBuilderTest
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.187 sec
>    [junit] Running org.apache.ldap.server.jndi.RFC2713Tests
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.RFC2713Tests FAILED
>    [junit] Running org.apache.ldap.server.jndi.RootDSETest
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 4.547 sec
>    [junit] Running org.apache.ldap.server.jndi.SearchContextTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.SearchContextTest 
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.ServerContextFactoryTest
>    [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.jndi.ServerContextFactoryTest FA
> ILED
>    [junit] Running 
> org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.172 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.ShutdownTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ShutdownTest FAILED
>    [junit] Running org.apache.ldap.server.jndi.SyncTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.SyncTest FAILED
>    [junit] Running 
> org.apache.ldap.server.operational.BinaryAttributeFilterTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.operational.BinaryAttributeFilte
> rTest FAILED
>    [junit] Running 
> org.apache.ldap.server.operational.OperationalAttributeServi
> ceTest
>    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.operational.OperationalAttribute
> ServiceTest FAILED
>    [junit] Running org.apache.ldap.server.prefs.PreferencesUtilsTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
>    [junit] Running 
> org.apache.ldap.server.prefs.ServerPreferencesFactoryTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.prefs.ServerPreferencesFactoryTe
> st FAILED
>    [junit] Running 
> org.apache.ldap.server.prefs.ServerSystemPreferencesTest
>    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.032 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.prefs.ServerSystemPreferencesTes
> t FAILED
>    [junit] Running 
> org.apache.ldap.server.schema.bootstrap.BootstrapSchemaLoade
> rTest
>    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.703 sec
> BUILD FAILED
> File...... C:\Documents and 
> Settings\Chris\.maven\cache\maven-multiproject-plugi
> n-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
> and Settin
> gs\Chris\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: 
> <fail> There
> were test failures.
> Total time: 1 minutes 36 seconds
> Finished at: Wed Apr 20 13:13:13 EST 2005
> D:\java\apacheDS\svn_head\apacheds\trunk>
> 
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Trustin Lee <tr...@gmail.com>.
Hi,

2005/4/22, Tony Blanchard <bl...@wanadoo.fr>:
> It seems that jdk1.5 has some problem with the StringBuffer builder
> pattern...

There is no problem with JDK 1.5, but with AspectJ.  We're using older
version which doesn't support Java 5.  But recent version of AspectJ
looks like it is in beta stage yet.

<snip/>

Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Re: Build broken

Posted by Alex Karasulu <ao...@bellsouth.net>.
Emmanuel Lecharny wrote:

>Ok, you're close ! (switch to Linux ;-])
>
>  
>
Hehe yah that would help.

>Just a bet : the tests are trying to talk to AD, or openldap, or
>ADAM ... instead of apacheDS. Alex, any other ideas? It seems that the
>server is OK, but the answers are not the expected ones.
>  
>
I could not gather much from the plain maven output hence why I wondered 
about the content of the test reports themselves. 

>I will try on my windows box this evening... (damn! How do you log on
>windows? ;)
>  
>
Ha!  Getting on Windows would means having to get out of bed and work at 
a desk.  Maybe I can tsclient to it hmm.

>I also suggest that you switch to jdk 1.4.2_08, for security reasons
>(http://secunia.com/advisories/13918/)
>
>  
>
Yah good idea in general but it still should not effect the build.  I'm 
going to _08 though.

>On Thu, 2005-04-21 at 20:18 -0400, chris@pegacat.com wrote:
>  
>
>>Morning Folks :-). 
>>
>>    
>>
>>>Excellent!  Thanks for confirming.  I hope our friend Chris can get things 
>>>to build.
>>>      
>>>
>>It's getting closer, but it still isn't there I'm afraid :-(.  I followed 
>>Emmanuel's idea, and cleaned out the maven cache+repository, and blew away 
>>my svn directory and rechecked out everything. 
>>
>>However I still get the same build failed on line 217 / Column 9 error as 
>>before.  Curiously though, *most* of the tests now run (previously the vast 
>>majority failed on error). 
>>
>>I'm using java 1.4.2_04, on Windows XP sp2... Any ideas? 
>>    
>>
<snip/>

Alex

Re: Build broken

Posted by Emmanuel Lecharny <el...@apache.org>.
Ok, you're close ! (switch to Linux ;-])

Just a bet : the tests are trying to talk to AD, or openldap, or
ADAM ... instead of apacheDS. Alex, any other ideas? It seems that the
server is OK, but the answers are not the expected ones.

I will try on my windows box this evening... (damn! How do you log on
windows? ;)

I also suggest that you switch to jdk 1.4.2_08, for security reasons
(http://secunia.com/advisories/13918/)



On Thu, 2005-04-21 at 20:18 -0400, chris@pegacat.com wrote:
> Morning Folks :-). 
> 
> > Excellent!  Thanks for confirming.  I hope our friend Chris can get things 
> > to build.
> 
> It's getting closer, but it still isn't there I'm afraid :-(.  I followed 
> Emmanuel's idea, and cleaned out the maven cache+repository, and blew away 
> my svn directory and rechecked out everything. 
> 
> However I still get the same build failed on line 217 / Column 9 error as 
> before.  Curiously though, *most* of the tests now run (previously the vast 
> majority failed on error). 
> 
> I'm using java 1.4.2_04, on Windows XP sp2... Any ideas? 
> 
>  --------8<--------------------
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp. 
> 
> C:\Documents and Settings\Chris>d: 
> 
> D:\>cd D:\java\apacheDS\svn_head\apacheds\trunk 
> 
> D:\java\apacheDS\svn_head\apacheds\trunk>maven multiproject:install
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 
> 
> build:start: 
> 
> multiproject:install:
> multiproject:projects-init:
>    [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Gathering project list ApacheDS Shared
> | Memory: 4M/4M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Plugin
> | Memory: 4M/4M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Core
> | Memory: 4M/4M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Main
> | Memory: 4M/4M
> +----------------------------------------
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Shared
> | Memory: 4M/4M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> 280K downloaded 
> 
> multiproject:goal:
> build:start: 
> 
> multiproject:install-callback:
>    [echo] Running jar:install for ApacheDS Shared
> java:prepare-filesystem: 
> 
> java:compile:
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\shared/target/c
> lasses
>    [echo]
> ========================================================== 
> 
>  NOTE: Targetting JVM 1.4, classes
>  will not run on earlier JVMs 
> 
> ========================================================== 
> 
> 
> java:jar-resources: 
> 
> test:prepare-filesystem: 
> 
> test:test-resources: 
> 
> test:compile:
>    [echo] No test source files to compile. 
> 
> test:test:
>    [echo] No tests to run.
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\apacheds-s
> hared-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
> Settings\Chris\.maven\repository\d
> irectory\jars\apacheds-shared-0.9-SNAPSHOT.jar'
> Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\project.xml' 
> to:
> 'C:\Documents and 
> Settings\Chris\.maven\repository\directory\poms\apacheds-share
> d-0.9-SNAPSHOT.pom'
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Plugin
> | Memory: 5M/6M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar. 
> 
> jar:jar: 
> 
> jar:install: 
> 
> 
> build:end: 
> 
> build:start: 
> 
> multiproject:install-callback:
> plugin:plugin:
> java:prepare-filesystem: 
> 
> java:compile:
> antlr:prepare-filesystem: 
> 
> antlr:generate: 
> 
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin/target/c
> lasses
>    [echo]
> ========================================================== 
> 
>  NOTE: Targetting JVM 1.4, classes
>  will not run on earlier JVMs 
> 
> ========================================================== 
> 
> 
> java:jar-resources: 
> 
> test:prepare-filesystem: 
> 
> test:test-resources: 
> 
> test:compile: 
> 
> test:test:
>    [junit] Running 
> org.apache.ldap.server.tools.schema.AttributeTypesTemplateTe
> st
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.344 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.DirectorySchemaToolTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.703 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.ObjectClassesTemplateTes
> t
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.016 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.OpenLdapSchemaParserTest 
> 
>    [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.437 sec
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\maven-dire
> ctory-plugin-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
> Settings\Chris\.maven\repos
> itory\directory\plugins\maven-directory-plugin-0.9-SNAPSHOT.jar'
> Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\project.xml' 
> to:
> 'C:\Documents and 
> Settings\Chris\.maven\repository\directory\poms\maven-director
> y-plugin-0.9-SNAPSHOT.pom'
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Core
> | Memory: 12M/20M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
> 35K downloaded
> Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
> 29K downloaded
> Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
> 152K downloaded
> Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
> 88K downloaded
> Attempting to download mina-0.7-SNAPSHOT.jar.
> 198K downloaded
> Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar. 
> 
> jar:jar: 
> 
> 
> plugin:repository-install: 
> 
> 
> build:end: 
> 
> build:start: 
> 
> multiproject:install-callback:
>    [echo] Running jar:install for ApacheDS Core
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> java:prepare-filesystem: 
> 
> java:compile:
> directory:schema:
> directory:init: 
> 
> directory:prepare-filesystem: 
> 
> directory:generate: 
> 
> 
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
> sses
> warning couldn't find aspectjrt.jar on classpath, checked: 
> 
> aspectj:init: 
> 
> aspectj:compile: 
> 
> 
> java:jar-resources: 
> 
> test:prepare-filesystem: 
> 
> test:test-resources: 
> 
> test:compile: 
> 
> test:test:
>    [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
>    [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 3.141 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.authn.SimpleAuthenticationTest F
> AILED
>    [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
>    [junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 0.078 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.authz.AuthorizationServiceTest F
> AILED
>    [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
>    [junit] Tests run: 21, Failures: 0, Errors: 21, Time elapsed: 0.11 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.exception.ExceptionServiceTest F
> AILED
>    [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
>    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.235 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.interceptor.ConfigurationTest 
> FA
> ILED
>    [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.438 sec
>    [junit] Running org.apache.ldap.server.jndi.CreateContextTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.CreateContextTest FAILED
>    [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.DestroyContextTest 
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ImportConfirmationTest 
> FAIL
> ED
>    [junit] Running org.apache.ldap.server.jndi.ListTest
>    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ListTest FAILED
>    [junit] Running org.apache.ldap.server.jndi.ModifyContextTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ModifyContextTest FAILED
>    [junit] Running org.apache.ldap.server.jndi.ObjStateFactoryTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ObjStateFactoryTest 
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.PartitionContextBuilderTest
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.172 sec
>    [junit] Running org.apache.ldap.server.jndi.RFC2713Tests
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.RFC2713Tests FAILED
>    [junit] Running org.apache.ldap.server.jndi.RootDSETest
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 4.516 sec
>    [junit] Running org.apache.ldap.server.jndi.SearchContextTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.SearchContextTest FAILED
>    [junit] Running org.apache.ldap.server.jndi.ServerContextFactoryTest
>    [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.032 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ServerContextFactoryTest 
> FA
> ILED
>    [junit] Running org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.172 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
> FAILED
>    [junit] Running org.apache.ldap.server.jndi.ShutdownTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.ShutdownTest FAILED
>    [junit] Running org.apache.ldap.server.jndi.SyncTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.SyncTest FAILED
>    [junit] Running 
> org.apache.ldap.server.operational.BinaryAttributeFilterTest 
> 
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.operational.BinaryAttributeFilte
> rTest FAILED
>    [junit] Running 
> org.apache.ldap.server.operational.OperationalAttributeServi
> ceTest
>    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.operational.OperationalAttribute
> ServiceTest FAILED
>    [junit] Running org.apache.ldap.server.prefs.PreferencesUtilsTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
>    [junit] Running org.apache.ldap.server.prefs.ServerPreferencesFactoryTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.prefs.ServerPreferencesFactoryTe
> st FAILED
>    [junit] Running org.apache.ldap.server.prefs.ServerSystemPreferencesTest
>    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.031 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.prefs.ServerSystemPreferencesTes
> t FAILED
>    [junit] Running 
> org.apache.ldap.server.schema.bootstrap.BootstrapSchemaLoade
> rTest
>    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.688 sec 
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\Chris\.maven\cache\maven-multiproject-plugi
> n-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and 
> Settin
> gs\Chris\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: <fail> 
> There
> were test failures.
> Total time: 2 minutes 10 seconds
> Finished at: Fri Apr 22 09:33:29 EST 2005 
> 
> D:\java\apacheDS\svn_head\apacheds\trunk>
> D:\java\apacheDS\svn_head\apacheds\trunk>cd ../.. 
> 
> D:\java\apacheDS\svn_head>cd .. 
> 
> D:\java\apacheDS>cd svn_head 
> 
> D:\java\apacheDS\svn_head>cd D:\java\apacheDS\svn_head\apacheds\trunk 
> 
> D:\java\apacheDS\svn_head\apacheds\trunk>java -version
> java version "1.4.2_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) 
> 
> D:\java\apacheDS\svn_head\apacheds\trunk>maven multiproject:install
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 
> 
> Plugin cache will be regenerated
> Attempting to download junit-3.8.1.jar.
> 118K downloaded
> Attempting to download dom4j-1.4-dev-8.jar.
> 475K downloaded
> Attempting to download commons-jelly-20030902.160215.jar.
> 150K downloaded
> Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
> 14K downloaded
> Attempting to download commons-jelly-tags-log-20030211.142821.jar.
> 8K downloaded
> Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
> 7K downloaded
> Attempting to download commons-jelly-tags-xml-20040613.030723.jar.
> 33K downloaded
> Attempting to download commons-logging-1.0.3.jar.
> 30K downloaded
> Attempting to download velocity-1.4-dev.jar.
> 351K downloaded
> Attempting to download velocity-dvsl-0.45.jar.
> 25K downloaded
> Attempting to download xml-apis-1.0.b2.jar.
> 106K downloaded
> Attempting to download isorelax-20030108.jar.
> 188K downloaded
> Attempting to download jing-20030619.jar.
> 475K downloaded
> Attempting to download xerces-2.4.0.jar.
> 874K downloaded
> Attempting to download commons-io-20030203.000550.jar.
> 59K downloaded
> Attempting to download commons-net-1.1.0.jar.
> 139K downloaded
> Attempting to download commons-httpclient-2.0.jar.
> 217K downloaded
> Attempting to download commons-lang-2.0.jar.
> 165K downloaded
> Attempting to download jsch-0.1.5.jar.
> 79K downloaded
> build:start: 
> 
> multiproject:install:
> multiproject:projects-init:
>    [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Gathering project list ApacheDS Shared
> | Memory: 6M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Plugin
> | Memory: 6M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Core
> | Memory: 6M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Main
> | Memory: 6M/8M
> +----------------------------------------
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Shared
> | Memory: 6M/8M
> +----------------------------------------
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> 280K downloaded 
> 
> multiproject:goal:
> build:start: 
> 
> multiproject:install-callback:
>    [echo] Running jar:install for ApacheDS Shared
> Attempting to download commons-jelly-tags-antlr-20030211.143720.jar.
> 7K downloaded
> Attempting to download antlr-2.7.2.jar.
> 349K downloaded
> java:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\
> classes 
> 
> java:compile:
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\shared/target/c
> lasses
>    [echo]
> ========================================================== 
> 
>  NOTE: Targetting JVM 1.4, classes
>  will not run on earlier JVMs 
> 
> ========================================================== 
> 
>    [javac] Compiling 3 source files to 
> D:\java\apacheDS\svn_head\apacheds\trunk
> \shared\target\classes 
> 
> java:jar-resources: 
> 
> test:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\
> test-classes
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\
> test-reports 
> 
> test:test-resources: 
> 
> test:compile:
>    [echo] No test source files to compile. 
> 
> test:test:
>    [echo] No tests to run. 
> 
> jar:jar:
>    [jar] Building jar: 
> D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\a
> pacheds-shared-0.9-SNAPSHOT.jar
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\apacheds-s
> hared-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
> Settings\Chris\.maven\repository\d
> irectory\jars\apacheds-shared-0.9-SNAPSHOT.jar'
> Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\project.xml' 
> to:
> 'C:\Documents and 
> Settings\Chris\.maven\repository\directory\poms\apacheds-share
> d-0.9-SNAPSHOT.pom'
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Plugin
> | Memory: 7M/12M
> +----------------------------------------
> Attempting to download ant-1.5.3-1.jar.
> 720K downloaded
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> Attempting to download velocity-dep-1.4.jar.
> 505K downloaded
> Attempting to download commons-jelly-tags-xml-20030211.142705.jar.
> 31K downloaded
> Attempting to download commons-jelly-tags-interaction-20030211.143817.jar.
> 4K downloaded 
> 
> jar:install: 
> 
> 
> build:end: 
> 
> build:start: 
> 
> multiproject:install-callback:
> plugin:plugin:
> java:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
> classes 
> 
> java:compile:
> antlr:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
> antlr
> ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com 
> 
> antlr:generate: 
> 
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin/target/c
> lasses
>    [echo]
> ========================================================== 
> 
>  NOTE: Targetting JVM 1.4, classes
>  will not run on earlier JVMs 
> 
> ========================================================== 
> 
>    [javac] Compiling 11 source files to 
> D:\java\apacheDS\svn_head\apacheds\trun
> k\plugin\target\classes 
> 
> java:jar-resources:
> Copying 4 files to 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\classe
> s
> Copying 4 files to 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\classe
> s 
> 
> test:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
> test-classes
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
> test-reports 
> 
> test:test-resources:
> Copying 8 files to 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\test-c
> lasses\org\apache\ldap\server\tools\schema 
> 
> test:compile:
>    [javac] Compiling 6 source files to 
> D:\java\apacheDS\svn_head\apacheds\trunk
> \plugin\target\test-classes 
> 
> test:test:
>    [junit] Running 
> org.apache.ldap.server.tools.schema.AttributeTypesTemplateTe
> st
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.109 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.DirectorySchemaToolTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.719 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.ObjectClassesTemplateTes
> t
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.969 sec
>    [junit] Running 
> org.apache.ldap.server.tools.schema.OpenLdapSchemaParserTest 
> 
>    [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.469 sec 
> 
> jar:jar:
>    [jar] Building jar: 
> D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\m
> aven-directory-plugin-0.9-SNAPSHOT.jar
> Copying: from 
> 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\maven-dire
> ctory-plugin-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
> Settings\Chris\.maven\repos
> itory\directory\plugins\maven-directory-plugin-0.9-SNAPSHOT.jar'
> Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\project.xml' 
> to:
> 'C:\Documents and 
> Settings\Chris\.maven\repository\directory\poms\maven-director
> y-plugin-0.9-SNAPSHOT.pom'
> +----------------------------------------
> | Executing multiproject:install-callback ApacheDS Core
> | Memory: 15M/16M
> +----------------------------------------
> Attempting to download commons-collections-3.1.jar.
> 546K downloaded
> Attempting to download commons-primitives-20041207.202534.jar.
> 292K downloaded
> Attempting to download regexp-1.2.jar.
> 29K downloaded
> Attempting to download oro-2.0.7.jar.
> 63K downloaded
> Attempting to download commons-logging-1.0.jar.
> 21K downloaded
> Attempting to download commons-io-1.0.jar.
> 44K downloaded
> Attempting to download jdbm-0.20-dev.jar.
> 84K downloaded
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download aspectjrt-1.2.jar.
> 34K downloaded
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
> 35K downloaded
> Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
> 29K downloaded
> Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
> 152K downloaded
> Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
> 88K downloaded
> Attempting to download mina-0.7-SNAPSHOT.jar.
> 198K downloaded
> Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar. 
> 
> 
> plugin:repository-install: 
> 
> 
> build:end: 
> 
> build:start: 
> 
> multiproject:install-callback:
>    [echo] Running jar:install for ApacheDS Core
> java:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\core\target\cl
> asses
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar. 
> 
> java:compile:
> directory:schema:
> directory:init: 
> 
> directory:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\core\target\sc
> hema 
> 
> directory:generate:
>    [echo] Generated schema producer classes for apachedns.schema
>    [echo] Generated schema producer classes for autofs.schema
>    [echo] Generated schema producer classes for core.schema
>    [echo] Generated schema producer classes for cosine.schema
>    [echo] Generated schema producer classes for corba.schema
>    [echo] Generated schema producer classes for apache.schema
>    [echo] Generated schema producer classes for inetorgperson.schema
>    [echo] Generated schema producer classes for java.schema
>    [echo] Generated schema producer classes for krb5kdc.schema
>    [echo] Generated schema producer classes for nis.schema
>    [echo] Generated schema producer classes for system.schema
>    [echo] Generated schema producer classes for dhcp.schema
>    [echo] Generated schema producer classes for samba.schema
>    [touch] Creating 
> D:\java\apacheDS\svn_head\apacheds\trunk\core\target\schema
> \.flagfile 
> 
> 
>    [echo] Compiling to 
> D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
> sses
>    [javac] Compiling 374 source files to 
> D:\java\apacheDS\svn_head\apacheds\tru
> nk\core\target\classes
> Attempting to download aspectjtools-1.2.jar.
> 5340K downloaded
> warning couldn't find aspectjrt.jar on classpath, checked: 
> 
> aspectj:init: 
> 
> aspectj:compile:
>    [iajc] Copying 7 files to 
> D:\java\apacheDS\svn_head\apacheds\trunk\core\targ
> et\classes 
> 
> 
> java:jar-resources: 
> 
> test:prepare-filesystem:
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\core\target\te
> st-classes
>    [mkdir] Created dir: 
> D:\java\apacheDS\svn_head\apacheds\trunk\core\target\te
> st-reports 
> 
> test:test-resources: 
> 
> test:compile:
>    [javac] Compiling 26 source files to 
> D:\java\apacheDS\svn_head\apacheds\trun
> k\core\target\test-classes 
> 
> test:test:
>    [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
>    [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 3.36 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.authn.SimpleAuthenticationTest F
> AILED
>    [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.203 sec
>    [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
>    [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 11.14 sec
>    [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.203 sec
>    [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.891 sec
>    [junit] Running org.apache.ldap.server.jndi.CreateContextTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.781 sec
>    [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.016 sec
>    [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.922 sec
>    [junit] Running org.apache.ldap.server.jndi.ListTest
>    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.266 sec
>    [junit] Running org.apache.ldap.server.jndi.ModifyContextTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.422 sec
>    [junit] Running org.apache.ldap.server.jndi.ObjStateFactoryTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.39 sec
>    [junit] Running org.apache.ldap.server.jndi.PartitionContextBuilderTest
>    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.188 sec
>    [junit] Running org.apache.ldap.server.jndi.RFC2713Tests
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.921 sec
>    [junit] Running org.apache.ldap.server.jndi.RootDSETest
>    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.016 sec
>    [junit] Running org.apache.ldap.server.jndi.SearchContextTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.594 sec
>    [junit] Running org.apache.ldap.server.jndi.ServerContextFactoryTest
>    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 11.141 sec
>    [junit] Running org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.25 sec
>    [junit] Running org.apache.ldap.server.jndi.ShutdownTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.469 sec
>    [junit] Running org.apache.ldap.server.jndi.SyncTest
>    [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.047 sec
>    [junit] [ERROR] TEST org.apache.ldap.server.jndi.SyncTest FAILED
>    [junit] Running 
> org.apache.ldap.server.operational.BinaryAttributeFilterTest 
> 
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.operational.BinaryAttributeFilte
> rTest FAILED
>    [junit] Running 
> org.apache.ldap.server.operational.OperationalAttributeServi
> ceTest
>    [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.047 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.operational.OperationalAttribute
> ServiceTest FAILED
>    [junit] Running org.apache.ldap.server.prefs.PreferencesUtilsTest
>    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
>    [junit] Running org.apache.ldap.server.prefs.ServerPreferencesFactoryTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.prefs.ServerPreferencesFactoryTe
> st FAILED
>    [junit] Running org.apache.ldap.server.prefs.ServerSystemPreferencesTest
>    [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.047 sec
>    [junit] [ERROR] TEST 
> org.apache.ldap.server.prefs.ServerSystemPreferencesTes
> t FAILED
>    [junit] Running 
> org.apache.ldap.server.schema.bootstrap.BootstrapSchemaLoade
> rTest
>    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.734 sec 
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\Chris\.maven\cache\maven-multiproject-plugi
> n-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents and 
> Settin
> gs\Chris\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: <fail> 
> There
> were test failures.
> Total time: 9 minutes 5 seconds
> Finished at: Fri Apr 22 10:10:47 EST 2005 
> 
> D:\java\apacheDS\svn_head\apacheds\trunk>
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 



Re: Build broken

Posted by Alex Karasulu <ao...@bellsouth.net>.
chris@pegacat.com wrote:

> Morning Folks :-).
>
>> Excellent!  Thanks for confirming.  I hope our friend Chris can get 
>> things to build.
>
>
> It's getting closer, but it still isn't there I'm afraid :-(.  I 
> followed Emmanuel's idea, and cleaned out the maven cache+repository, 
> and blew away my svn directory and rechecked out everything.
> However I still get the same build failed on line 217 / Column 9 error 
> as before.  Curiously though, *most* of the tests now run (previously 
> the vast majority failed on error).
> I'm using java 1.4.2_04, on Windows XP sp2... Any ideas?

Could you attach or past some of the output from a test-report so I can 
see the exact error.  I'm afraid the top level output from maven is not 
enough.  And also you might want to try using this service here so we 
don't bloat emails:

http://www.rafb.net/paste/

Good luck.  Glad the built jars worked out for you.  However I still 
wish this dang build would come together. 

Thanks,
Alex


Re: Build broken

Posted by ch...@pegacat.com.
Morning Folks :-). 

> Excellent!  Thanks for confirming.  I hope our friend Chris can get things 
> to build.

It's getting closer, but it still isn't there I'm afraid :-(.  I followed 
Emmanuel's idea, and cleaned out the maven cache+repository, and blew away 
my svn directory and rechecked out everything. 

However I still get the same build failed on line 217 / Column 9 error as 
before.  Curiously though, *most* of the tests now run (previously the vast 
majority failed on error). 

I'm using java 1.4.2_04, on Windows XP sp2... Any ideas? 

 --------8<--------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp. 

C:\Documents and Settings\Chris>d: 

D:\>cd D:\java\apacheDS\svn_head\apacheds\trunk 

D:\java\apacheDS\svn_head\apacheds\trunk>maven multiproject:install
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 

build:start: 

multiproject:install:
multiproject:projects-init:
   [echo] Gathering project list
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Gathering project list ApacheDS Shared
| Memory: 4M/4M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Plugin
| Memory: 4M/4M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Core
| Memory: 4M/4M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Main
| Memory: 4M/4M
+----------------------------------------
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Shared
| Memory: 4M/4M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
280K downloaded 

multiproject:goal:
build:start: 

multiproject:install-callback:
   [echo] Running jar:install for ApacheDS Shared
java:prepare-filesystem: 

java:compile:
   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\shared/target/c
lasses
   [echo]
========================================================== 

 NOTE: Targetting JVM 1.4, classes
 will not run on earlier JVMs 

========================================================== 


java:jar-resources: 

test:prepare-filesystem: 

test:test-resources: 

test:compile:
   [echo] No test source files to compile. 

test:test:
   [echo] No tests to run.
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\apacheds-s
hared-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
Settings\Chris\.maven\repository\d
irectory\jars\apacheds-shared-0.9-SNAPSHOT.jar'
Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\project.xml' 
to:
'C:\Documents and 
Settings\Chris\.maven\repository\directory\poms\apacheds-share
d-0.9-SNAPSHOT.pom'
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Plugin
| Memory: 5M/6M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar. 

jar:jar: 

jar:install: 


build:end: 

build:start: 

multiproject:install-callback:
plugin:plugin:
java:prepare-filesystem: 

java:compile:
antlr:prepare-filesystem: 

antlr:generate: 

   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin/target/c
lasses
   [echo]
========================================================== 

 NOTE: Targetting JVM 1.4, classes
 will not run on earlier JVMs 

========================================================== 


java:jar-resources: 

test:prepare-filesystem: 

test:test-resources: 

test:compile: 

test:test:
   [junit] Running 
org.apache.ldap.server.tools.schema.AttributeTypesTemplateTe
st
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.344 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.DirectorySchemaToolTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.703 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.ObjectClassesTemplateTes
t
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.016 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.OpenLdapSchemaParserTest 

   [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.437 sec
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\maven-dire
ctory-plugin-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
Settings\Chris\.maven\repos
itory\directory\plugins\maven-directory-plugin-0.9-SNAPSHOT.jar'
Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\project.xml' 
to:
'C:\Documents and 
Settings\Chris\.maven\repository\directory\poms\maven-director
y-plugin-0.9-SNAPSHOT.pom'
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Core
| Memory: 12M/20M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
35K downloaded
Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
29K downloaded
Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
152K downloaded
Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
88K downloaded
Attempting to download mina-0.7-SNAPSHOT.jar.
198K downloaded
Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar. 

jar:jar: 


plugin:repository-install: 


build:end: 

build:start: 

multiproject:install-callback:
   [echo] Running jar:install for ApacheDS Core
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
java:prepare-filesystem: 

java:compile:
directory:schema:
directory:init: 

directory:prepare-filesystem: 

directory:generate: 


   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
sses
warning couldn't find aspectjrt.jar on classpath, checked: 

aspectj:init: 

aspectj:compile: 


java:jar-resources: 

test:prepare-filesystem: 

test:test-resources: 

test:compile: 

test:test:
   [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
   [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 3.141 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.authn.SimpleAuthenticationTest F
AILED
   [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
   [junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 0.078 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.authz.AuthorizationServiceTest F
AILED
   [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
   [junit] Tests run: 21, Failures: 0, Errors: 21, Time elapsed: 0.11 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.exception.ExceptionServiceTest F
AILED
   [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.235 sec
   [junit] [ERROR] TEST org.apache.ldap.server.interceptor.ConfigurationTest 
FA
ILED
   [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.438 sec
   [junit] Running org.apache.ldap.server.jndi.CreateContextTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.CreateContextTest FAILED
   [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.DestroyContextTest 
FAILED
   [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ImportConfirmationTest 
FAIL
ED
   [junit] Running org.apache.ldap.server.jndi.ListTest
   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ListTest FAILED
   [junit] Running org.apache.ldap.server.jndi.ModifyContextTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ModifyContextTest FAILED
   [junit] Running org.apache.ldap.server.jndi.ObjStateFactoryTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ObjStateFactoryTest 
FAILED
   [junit] Running org.apache.ldap.server.jndi.PartitionContextBuilderTest
   [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.172 sec
   [junit] Running org.apache.ldap.server.jndi.RFC2713Tests
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.RFC2713Tests FAILED
   [junit] Running org.apache.ldap.server.jndi.RootDSETest
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 4.516 sec
   [junit] Running org.apache.ldap.server.jndi.SearchContextTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.SearchContextTest FAILED
   [junit] Running org.apache.ldap.server.jndi.ServerContextFactoryTest
   [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.032 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ServerContextFactoryTest 
FA
ILED
   [junit] Running org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.172 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
FAILED
   [junit] Running org.apache.ldap.server.jndi.ShutdownTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ShutdownTest FAILED
   [junit] Running org.apache.ldap.server.jndi.SyncTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.SyncTest FAILED
   [junit] Running 
org.apache.ldap.server.operational.BinaryAttributeFilterTest 

   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.operational.BinaryAttributeFilte
rTest FAILED
   [junit] Running 
org.apache.ldap.server.operational.OperationalAttributeServi
ceTest
   [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.operational.OperationalAttribute
ServiceTest FAILED
   [junit] Running org.apache.ldap.server.prefs.PreferencesUtilsTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
   [junit] Running org.apache.ldap.server.prefs.ServerPreferencesFactoryTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.prefs.ServerPreferencesFactoryTe
st FAILED
   [junit] Running org.apache.ldap.server.prefs.ServerSystemPreferencesTest
   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.prefs.ServerSystemPreferencesTes
t FAILED
   [junit] Running 
org.apache.ldap.server.schema.bootstrap.BootstrapSchemaLoade
rTest
   [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.688 sec 

BUILD FAILED
File...... C:\Documents and 
Settings\Chris\.maven\cache\maven-multiproject-plugi
n-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and 
Settin
gs\Chris\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: <fail> 
There
were test failures.
Total time: 2 minutes 10 seconds
Finished at: Fri Apr 22 09:33:29 EST 2005 

D:\java\apacheDS\svn_head\apacheds\trunk>
D:\java\apacheDS\svn_head\apacheds\trunk>cd ../.. 

D:\java\apacheDS\svn_head>cd .. 

D:\java\apacheDS>cd svn_head 

D:\java\apacheDS\svn_head>cd D:\java\apacheDS\svn_head\apacheds\trunk 

D:\java\apacheDS\svn_head\apacheds\trunk>java -version
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) 

D:\java\apacheDS\svn_head\apacheds\trunk>maven multiproject:install
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 

Plugin cache will be regenerated
Attempting to download junit-3.8.1.jar.
118K downloaded
Attempting to download dom4j-1.4-dev-8.jar.
475K downloaded
Attempting to download commons-jelly-20030902.160215.jar.
150K downloaded
Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
14K downloaded
Attempting to download commons-jelly-tags-log-20030211.142821.jar.
8K downloaded
Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
7K downloaded
Attempting to download commons-jelly-tags-xml-20040613.030723.jar.
33K downloaded
Attempting to download commons-logging-1.0.3.jar.
30K downloaded
Attempting to download velocity-1.4-dev.jar.
351K downloaded
Attempting to download velocity-dvsl-0.45.jar.
25K downloaded
Attempting to download xml-apis-1.0.b2.jar.
106K downloaded
Attempting to download isorelax-20030108.jar.
188K downloaded
Attempting to download jing-20030619.jar.
475K downloaded
Attempting to download xerces-2.4.0.jar.
874K downloaded
Attempting to download commons-io-20030203.000550.jar.
59K downloaded
Attempting to download commons-net-1.1.0.jar.
139K downloaded
Attempting to download commons-httpclient-2.0.jar.
217K downloaded
Attempting to download commons-lang-2.0.jar.
165K downloaded
Attempting to download jsch-0.1.5.jar.
79K downloaded
build:start: 

multiproject:install:
multiproject:projects-init:
   [echo] Gathering project list
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Gathering project list ApacheDS Shared
| Memory: 6M/8M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Plugin
| Memory: 6M/8M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Core
| Memory: 6M/8M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Main
| Memory: 6M/8M
+----------------------------------------
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Shared
| Memory: 6M/8M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
280K downloaded 

multiproject:goal:
build:start: 

multiproject:install-callback:
   [echo] Running jar:install for ApacheDS Shared
Attempting to download commons-jelly-tags-antlr-20030211.143720.jar.
7K downloaded
Attempting to download antlr-2.7.2.jar.
349K downloaded
java:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\
classes 

java:compile:
   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\shared/target/c
lasses
   [echo]
========================================================== 

 NOTE: Targetting JVM 1.4, classes
 will not run on earlier JVMs 

========================================================== 

   [javac] Compiling 3 source files to 
D:\java\apacheDS\svn_head\apacheds\trunk
\shared\target\classes 

java:jar-resources: 

test:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\
test-classes
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\
test-reports 

test:test-resources: 

test:compile:
   [echo] No test source files to compile. 

test:test:
   [echo] No tests to run. 

jar:jar:
   [jar] Building jar: 
D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\a
pacheds-shared-0.9-SNAPSHOT.jar
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\apacheds-s
hared-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
Settings\Chris\.maven\repository\d
irectory\jars\apacheds-shared-0.9-SNAPSHOT.jar'
Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\shared\project.xml' 
to:
'C:\Documents and 
Settings\Chris\.maven\repository\directory\poms\apacheds-share
d-0.9-SNAPSHOT.pom'
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Plugin
| Memory: 7M/12M
+----------------------------------------
Attempting to download ant-1.5.3-1.jar.
720K downloaded
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
Attempting to download velocity-dep-1.4.jar.
505K downloaded
Attempting to download commons-jelly-tags-xml-20030211.142705.jar.
31K downloaded
Attempting to download commons-jelly-tags-interaction-20030211.143817.jar.
4K downloaded 

jar:install: 


build:end: 

build:start: 

multiproject:install-callback:
plugin:plugin:
java:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
classes 

java:compile:
antlr:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
antlr
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com 

antlr:generate: 

   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin/target/c
lasses
   [echo]
========================================================== 

 NOTE: Targetting JVM 1.4, classes
 will not run on earlier JVMs 

========================================================== 

   [javac] Compiling 11 source files to 
D:\java\apacheDS\svn_head\apacheds\trun
k\plugin\target\classes 

java:jar-resources:
Copying 4 files to 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\classe
s
Copying 4 files to 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\classe
s 

test:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
test-classes
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\
test-reports 

test:test-resources:
Copying 8 files to 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\test-c
lasses\org\apache\ldap\server\tools\schema 

test:compile:
   [javac] Compiling 6 source files to 
D:\java\apacheDS\svn_head\apacheds\trunk
\plugin\target\test-classes 

test:test:
   [junit] Running 
org.apache.ldap.server.tools.schema.AttributeTypesTemplateTe
st
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.109 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.DirectorySchemaToolTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.719 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.ObjectClassesTemplateTes
t
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.969 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.OpenLdapSchemaParserTest 

   [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.469 sec 

jar:jar:
   [jar] Building jar: 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\m
aven-directory-plugin-0.9-SNAPSHOT.jar
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\maven-dire
ctory-plugin-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
Settings\Chris\.maven\repos
itory\directory\plugins\maven-directory-plugin-0.9-SNAPSHOT.jar'
Copying: from 'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\project.xml' 
to:
'C:\Documents and 
Settings\Chris\.maven\repository\directory\poms\maven-director
y-plugin-0.9-SNAPSHOT.pom'
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Core
| Memory: 15M/16M
+----------------------------------------
Attempting to download commons-collections-3.1.jar.
546K downloaded
Attempting to download commons-primitives-20041207.202534.jar.
292K downloaded
Attempting to download regexp-1.2.jar.
29K downloaded
Attempting to download oro-2.0.7.jar.
63K downloaded
Attempting to download commons-logging-1.0.jar.
21K downloaded
Attempting to download commons-io-1.0.jar.
44K downloaded
Attempting to download jdbm-0.20-dev.jar.
84K downloaded
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download aspectjrt-1.2.jar.
34K downloaded
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
35K downloaded
Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
29K downloaded
Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
152K downloaded
Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
88K downloaded
Attempting to download mina-0.7-SNAPSHOT.jar.
198K downloaded
Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar. 


plugin:repository-install: 


build:end: 

build:start: 

multiproject:install-callback:
   [echo] Running jar:install for ApacheDS Core
java:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\core\target\cl
asses
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar. 

java:compile:
directory:schema:
directory:init: 

directory:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\core\target\sc
hema 

directory:generate:
   [echo] Generated schema producer classes for apachedns.schema
   [echo] Generated schema producer classes for autofs.schema
   [echo] Generated schema producer classes for core.schema
   [echo] Generated schema producer classes for cosine.schema
   [echo] Generated schema producer classes for corba.schema
   [echo] Generated schema producer classes for apache.schema
   [echo] Generated schema producer classes for inetorgperson.schema
   [echo] Generated schema producer classes for java.schema
   [echo] Generated schema producer classes for krb5kdc.schema
   [echo] Generated schema producer classes for nis.schema
   [echo] Generated schema producer classes for system.schema
   [echo] Generated schema producer classes for dhcp.schema
   [echo] Generated schema producer classes for samba.schema
   [touch] Creating 
D:\java\apacheDS\svn_head\apacheds\trunk\core\target\schema
\.flagfile 


   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
sses
   [javac] Compiling 374 source files to 
D:\java\apacheDS\svn_head\apacheds\tru
nk\core\target\classes
Attempting to download aspectjtools-1.2.jar.
5340K downloaded
warning couldn't find aspectjrt.jar on classpath, checked: 

aspectj:init: 

aspectj:compile:
   [iajc] Copying 7 files to 
D:\java\apacheDS\svn_head\apacheds\trunk\core\targ
et\classes 


java:jar-resources: 

test:prepare-filesystem:
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\core\target\te
st-classes
   [mkdir] Created dir: 
D:\java\apacheDS\svn_head\apacheds\trunk\core\target\te
st-reports 

test:test-resources: 

test:compile:
   [javac] Compiling 26 source files to 
D:\java\apacheDS\svn_head\apacheds\trun
k\core\target\test-classes 

test:test:
   [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
   [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 3.36 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.authn.SimpleAuthenticationTest F
AILED
   [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
   [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.203 sec
   [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
   [junit] Tests run: 21, Failures: 0, Errors: 0, Time elapsed: 11.14 sec
   [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
   [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.203 sec
   [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.891 sec
   [junit] Running org.apache.ldap.server.jndi.CreateContextTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.781 sec
   [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.016 sec
   [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.922 sec
   [junit] Running org.apache.ldap.server.jndi.ListTest
   [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.266 sec
   [junit] Running org.apache.ldap.server.jndi.ModifyContextTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.422 sec
   [junit] Running org.apache.ldap.server.jndi.ObjStateFactoryTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.39 sec
   [junit] Running org.apache.ldap.server.jndi.PartitionContextBuilderTest
   [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.188 sec
   [junit] Running org.apache.ldap.server.jndi.RFC2713Tests
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.921 sec
   [junit] Running org.apache.ldap.server.jndi.RootDSETest
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 5.016 sec
   [junit] Running org.apache.ldap.server.jndi.SearchContextTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.594 sec
   [junit] Running org.apache.ldap.server.jndi.ServerContextFactoryTest
   [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 11.141 sec
   [junit] Running org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 3.25 sec
   [junit] Running org.apache.ldap.server.jndi.ShutdownTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.469 sec
   [junit] Running org.apache.ldap.server.jndi.SyncTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.047 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.SyncTest FAILED
   [junit] Running 
org.apache.ldap.server.operational.BinaryAttributeFilterTest 

   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.operational.BinaryAttributeFilte
rTest FAILED
   [junit] Running 
org.apache.ldap.server.operational.OperationalAttributeServi
ceTest
   [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.047 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.operational.OperationalAttribute
ServiceTest FAILED
   [junit] Running org.apache.ldap.server.prefs.PreferencesUtilsTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
   [junit] Running org.apache.ldap.server.prefs.ServerPreferencesFactoryTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.prefs.ServerPreferencesFactoryTe
st FAILED
   [junit] Running org.apache.ldap.server.prefs.ServerSystemPreferencesTest
   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.047 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.prefs.ServerSystemPreferencesTes
t FAILED
   [junit] Running 
org.apache.ldap.server.schema.bootstrap.BootstrapSchemaLoade
rTest
   [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.734 sec 

BUILD FAILED
File...... C:\Documents and 
Settings\Chris\.maven\cache\maven-multiproject-plugi
n-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and 
Settin
gs\Chris\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: <fail> 
There
were test failures.
Total time: 9 minutes 5 seconds
Finished at: Fri Apr 22 10:10:47 EST 2005 

D:\java\apacheDS\svn_head\apacheds\trunk>

Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Alex Karasulu <ao...@bellsouth.net>.
Emmanuel Lecharny wrote:

>>>On Thu, 2005-04-21 at 14:37 -0400, Alex Karasulu wrote:
>>>      
>>>
>>Regardless of these issues which we *definately* must confront let's 
>>give the build another try.  Make sure you are not building with the 
>>offline option to pull down newly updated jars.
>>    
>>
>
>Ok, so I cleaned everything (maven repository, maven cache, rm -rf
>directory), checkouted directory again, changed to
>directory/apacheds/trunk, switched to jdk 1.4.2_08, changed my
>  
>
Dang _08 is out already? I just got onto _07.

>JAVA_HOME, typed maven multiproject:install, and ...
>
>it worked !
>
>  
>
Excellent!  Thanks for confirming.  I hope our friend Chris can get 
things to build.

Our build configuration is an embarasment sometimes I feel.  Not blaming 
anyone but it just looks and feels bad when stuff does not compile for 
some reason.

>...
>BUILD SUCCESSFUL
>Total time: 3 minutes 23 seconds
>Finished at: Fri Apr 22 01:16:28 CEST 2005
>
>I'm not sure that all this cleaning was necessary, except the jdk,
>JAVA_HOME. I did a rm on directory because, or an unknown reason, some
>classes where compiled with jdk 1.5, and stayed even after the rebuild.
>Strange.
>
>
>  
>
>>Good luck,
>>Alex
>>    
>>
>
>Thanks, Alex. I'm very happy that you are back, and I wish you to
>recover as fast as possible !
>
>Emmanuel
>
>
>
>  
>


Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Alex Karasulu <ao...@bellsouth.net>.
Tony Blanchard wrote:

>
> After that, I have some problems with tests. A question here... 
> ApacheDS is designed to run with wich version of JDK ?
> I have a lot of warning messages for deprecated or unchecked operation 
> calls in my environment with JDK 1.5...

...

The build only works on JDK 1.4 but I think 1.4 built resources should 
run fine on 1.5 without a problem.

Alex


Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Tony Blanchard <bl...@wanadoo.fr>.
It seems that jdk1.5 has some problem with the StringBuffer builder 
pattern...

I tried to change "buf.append(...).append(...)" by "buf.append(...); 
buf.append(...);" and it works... Strange...

After that, I have some problems with tests. A question here... ApacheDS 
is designed to run with wich version of JDK ?
I have a lot of warning messages for deprecated or unchecked operation 
calls in my environment with JDK 1.5...

Tony Blanchard
Emmanuel Lecharny a écrit :

>>>On Thu, 2005-04-21 at 14:37 -0400, Alex Karasulu wrote:
>>>      
>>>
>>Regardless of these issues which we *definately* must confront let's 
>>give the build another try.  Make sure you are not building with the 
>>offline option to pull down newly updated jars.
>>    
>>
>
>Ok, so I cleaned everything (maven repository, maven cache, rm -rf
>directory), checkouted directory again, changed to
>directory/apacheds/trunk, switched to jdk 1.4.2_08, changed my
>JAVA_HOME, typed maven multiproject:install, and ...
>
>it worked !
>
>...
>BUILD SUCCESSFUL
>Total time: 3 minutes 23 seconds
>Finished at: Fri Apr 22 01:16:28 CEST 2005
>
>I'm not sure that all this cleaning was necessary, except the jdk,
>JAVA_HOME. I did a rm on directory because, or an unknown reason, some
>classes where compiled with jdk 1.5, and stayed even after the rebuild.
>Strange.
>
>
>  
>
>>Good luck,
>>Alex
>>    
>>
>
>Thanks, Alex. I'm very happy that you are back, and I wish you to
>recover as fast as possible !
>
>Emmanuel
>
>
>
>
>
>  
>



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Emmanuel Lecharny <el...@apache.org>.
> >On Thu, 2005-04-21 at 14:37 -0400, Alex Karasulu wrote:
> Regardless of these issues which we *definately* must confront let's 
> give the build another try.  Make sure you are not building with the 
> offline option to pull down newly updated jars.

Ok, so I cleaned everything (maven repository, maven cache, rm -rf
directory), checkouted directory again, changed to
directory/apacheds/trunk, switched to jdk 1.4.2_08, changed my
JAVA_HOME, typed maven multiproject:install, and ...

it worked !

...
BUILD SUCCESSFUL
Total time: 3 minutes 23 seconds
Finished at: Fri Apr 22 01:16:28 CEST 2005

I'm not sure that all this cleaning was necessary, except the jdk,
JAVA_HOME. I did a rm on directory because, or an unknown reason, some
classes where compiled with jdk 1.5, and stayed even after the rebuild.
Strange.


> Good luck,
> Alex

Thanks, Alex. I'm very happy that you are back, and I wish you to
recover as fast as possible !

Emmanuel



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Alex Karasulu <ao...@bellsouth.net>.
Emmanuel Lecharny wrote:

>On Thu, 2005-04-21 at 14:37 -0400, Alex Karasulu wrote:
>  
>
>>Looks like you have jdk 1.5 which makes build with this version of 
>>aspectj freak out.  Is my guess correct.
>>    
>>
>
>Man, even if you were quite ill those last days, you didn't loose your
>brain ! You guessed well. For some reasons, I switched to jdk1.5 two
>weaks ago (I don't remember why).
>  
>
<snip/>

I think I found the issue with even 1.4 jdk - must have been a stale jar 
in the remote repository.  To many projects, too many separate 
initiatives leads to stale jars.  Some do not always rebuild all if a 
dep changes.

Regardless of these issues which we *definately* must confront let's 
give the build another try.  Make sure you are not building with the 
offline option to pull down newly updated jars.

Good luck,
Alex



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Stephane Bailliez <sb...@apache.org>.
Emmanuel Lecharny wrote:

>Unable to obtain goal [multiproject:install-callback]
>-- /home/elecharny/.maven/cache/maven-test-
>plugin-1.6.2/plugin.jelly:133:41: <junit>
>org/apache/ldap/server/tools/schema/OpenLdapSchemaParserTest
>(Unsupported major.minor version 49.0)
>Total time: 1 minutes 11 seconds
>Finished at: Fri Apr 22 00:27:50 CEST 2005
>  
>

Version 49.0 = Java 5 so you should have some classes compiled hanging 
around that you try to run with jdk 1.4

Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Emmanuel Lecharny <el...@apache.org>.
On Thu, 2005-04-21 at 14:37 -0400, Alex Karasulu wrote:
> Looks like you have jdk 1.5 which makes build with this version of 
> aspectj freak out.  Is my guess correct.

Man, even if you were quite ill those last days, you didn't loose your
brain ! You guessed well. For some reasons, I switched to jdk1.5 two
weaks ago (I don't remember why).

So I tested the build again, after having changed JAVA_HOME and java
version, cleaned the .maven repository, and here is what I get (I'm
sorry to say that I get another error) :



maven multiproject:install

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download junit-3.8.1.jar.
118K downloaded
Attempting to download dom4j-1.4-dev-8.jar.
475K downloaded
Attempting to download commons-jelly-20030902.160215.jar.
150K downloaded
Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
14K downloaded
Attempting to download commons-jelly-tags-log-20030211.142821.jar.
8K downloaded
Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
7K downloaded
Attempting to download commons-jelly-tags-xml-20040613.030723.jar.
33K downloaded
Attempting to download commons-logging-1.0.3.jar.
30K downloaded
Attempting to download velocity-1.4-dev.jar.
351K downloaded
Attempting to download velocity-dvsl-0.45.jar.
25K downloaded
Attempting to download xml-apis-1.0.b2.jar.
106K downloaded
Attempting to download isorelax-20030108.jar.
188K downloaded
Attempting to download jing-20030619.jar.
475K downloaded
Attempting to download xerces-2.4.0.jar.
874K downloaded
Attempting to download commons-io-20030203.000550.jar.
59K downloaded
Attempting to download commons-net-1.1.0.jar.
139K downloaded
Attempting to download commons-httpclient-2.0.jar.
217K downloaded
Attempting to download commons-lang-2.0.jar.
165K downloaded
Attempting to download jsch-0.1.5.jar.
79K downloaded
build:start:

multiproject:install:
multiproject:projects-init:
    [echo] Gathering project list
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Gathering project list ApacheDS Shared
| Memory: 4M/5M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Plugin
| Memory: 4M/5M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Core
| Memory: 4M/5M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Main
| Memory: 4M/5M
+----------------------------------------
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Shared
| Memory: 4M/5M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
280K downloaded

multiproject:goal:
build:start:

multiproject:install-callback:
    [echo] Running jar:install for ApacheDS Shared
Attempting to download commons-jelly-tags-antlr-20030211.143720.jar.
7K downloaded
Attempting to download antlr-2.7.2.jar.
349K downloaded
java:prepare-filesystem:

java:compile:
    [echo] Compiling
to /home/elecharny/ttt/directory/apacheds/trunk/shared/target/classes
    [echo]
==========================================================

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==========================================================


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
    [echo] No test source files to compile.

test:test:
    [echo] No tests to run.
Copying: from
'/home/elecharny/ttt/directory/apacheds/trunk/shared/target/apacheds-
shared-0.9-SNAPSHOT.jar' to:
'/home/elecharny/.maven/repository/directory/jars/apacheds-shared-0.9-
SNAPSHOT.jar'
Copying: from
'/home/elecharny/ttt/directory/apacheds/trunk/shared/project.xml' to:
'/home/elecharny/.maven/repository/directory/poms/apacheds-shared-0.9-
SNAPSHOT.pom'
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Plugin
| Memory: 4M/7M
+----------------------------------------
Attempting to download ant-1.5.3-1.jar.
720K downloaded
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
Attempting to download velocity-dep-1.4.jar.
505K downloaded
Attempting to download commons-jelly-tags-xml-20030211.142705.jar.
31K downloaded
Attempting to download commons-jelly-tags-
interaction-20030211.143817.jar.
4K downloaded

jar:jar:

jar:install:


build:end:

build:start:

multiproject:install-callback:
plugin:plugin:
java:prepare-filesystem:

java:compile:
antlr:prepare-filesystem:

antlr:generate:

    [echo] Compiling
to /home/elecharny/ttt/directory/apacheds/trunk/plugin/target/classes
    [echo]
==========================================================

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==========================================================


BUILD FAILED
File...... /home/elecharny/.maven/cache/maven-multiproject-
plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback]
-- /home/elecharny/.maven/cache/maven-test-
plugin-1.6.2/plugin.jelly:133:41: <junit>
org/apache/ldap/server/tools/schema/OpenLdapSchemaParserTest
(Unsupported major.minor version 49.0)
Total time: 1 minutes 11 seconds
Finished at: Fri Apr 22 00:27:50 CEST 2005

> Alex
> 
> Emmanuel Lecharny wrote:
> 
> >Chris, 
> >
> >if you just need the jars, you can grab the last version right here :
> >
> >http://cvs.apache.org/repository/directory/jars/
> >
> >I've to go, office is waiting for me, but I gonna check what's happening
> >with the build this evening.
> >
> >
> >
> >On Thu, 2005-04-21 at 17:36 +1000, Chris Betts wrote:
> >  
> >
> >>Cool - at least I'm in good company :-)
> >>
> >>On 21/04/2005, at 5:30 PM, Emmanuel Lecharny wrote:
> >>
> >>    
> >>
> >>>Hi guys,
> >>>
> >>>here is what I get when trying to compile the whole stuff from
> >>>apacheds/trunk launching maven multiproject:install :
> >>>
> >>>
> >>>... (many lines) ...
> >>>
> >>>build:end:
> >>>
> >>>build:start:
> >>>
> >>>multiproject:install-callback:
> >>>    [echo] Running jar:install for ApacheDS Core
> >>>java:prepare-filesystem:
> >>>    [mkdir] Created
> >>>dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> >>>Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> >>>Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> >>>
> >>>java:compile:
> >>>directory:schema:
> >>>directory:init:
> >>>
> >>>directory:prepare-filesystem:
> >>>    [mkdir] Created
> >>>dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema
> >>>
> >>>directory:generate:
> >>>    [echo] Generated schema producer classes for apachedns.schema
> >>>    [echo] Generated schema producer classes for autofs.schema
> >>>    [echo] Generated schema producer classes for core.schema
> >>>    [echo] Generated schema producer classes for cosine.schema
> >>>    [echo] Generated schema producer classes for corba.schema
> >>>    [echo] Generated schema producer classes for apache.schema
> >>>    [echo] Generated schema producer classes for inetorgperson.schema
> >>>    [echo] Generated schema producer classes for java.schema
> >>>    [echo] Generated schema producer classes for krb5kdc.schema
> >>>    [echo] Generated schema producer classes for nis.schema
> >>>    [echo] Generated schema producer classes for system.schema
> >>>    [echo] Generated schema producer classes for dhcp.schema
> >>>    [echo] Generated schema producer classes for samba.schema
> >>>    [touch]
> >>>Creating  
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/target/schema/ 
> >>>.flagfile
> >>>
> >>>
> >>>    [echo] Compiling
> >>>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> >>>    [javac] Compiling 374 source files
> >>>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> >>>warning couldn't find aspectjrt.jar on classpath, checked:
> >>>
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/db/gui/EntryNode.java:191 error The type  
> >>>AbstractStringBuilder is not visible
> >>>buf.append( "(" ).append( id ).append( ") " );
> >>>^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/db/gui/EntryNode.java:202 error The type  
> >>>AbstractStringBuilder is not visible
> >>>buf.append( " [" ).append( children.size() ).append( "]" );
> >>>^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67 error The  
> >>>type AbstractStringBuilder is not visible
> >>>buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80 error The  
> >>>type AbstractStringBuilder is not visible
> >>>buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append
> >>>( authenticatorName );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:72 error The type  
> >>>AbstractStringBuilder is not visible
> >>>buf.append( EnvKeys.SUFFIX ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:89 error The type  
> >>>AbstractStringBuilder is not visible
> >>>buf.append( EnvKeys.PARTITION_CLASS ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:104 error The type  
> >>>AbstractStringBuilder is not visible
> >>>buf.append( EnvKeys.PARTITION_PROPERTIES ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:119 error The type  
> >>>AbstractStringBuilder is not visible
> >>>buf.append( EnvKeys.INDICES ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:140 error The type  
> >>>AbstractStringBuilder is not visible
> >>>buf.append( EnvKeys.ATTRIBUTES ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^^^^^
> >>>aspectj:init:
> >>>
> >>>aspectj:compile:
> >>>    [iajc] Copying 7 files
> >>>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> >>>MessageHolder:  (1 warning)  (9 error)
> >>>[error   0]: error at buf.append( "(" ).append( id ).append( ") " );
> >>>^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/db/gui/EntryNode.java:191:0 The type  
> >>>AbstractStringBuilder is not visible[error   1]: error at buf.append(  
> >>>" [" ).append( children.size() ).append( "]" );
> >>>^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/db/gui/EntryNode.java:202:0 The type  
> >>>AbstractStringBuilder is not visible[error   2]: error at buf.append(  
> >>>EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67:0 The type  
> >>>AbstractStringBuilder is not visible
> >>>[error   3]: error at buf.append
> >>>( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80:0 The type  
> >>>AbstractStringBuilder is not visible
> >>>[error   4]: error at buf.append( EnvKeys.SUFFIX ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:72:0 The type  
> >>>AbstractStringBuilder is not visible
> >>>[error   5]: error at buf.append( EnvKeys.PARTITION_CLASS ).append
> >>>( id );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:89:0 The type  
> >>>AbstractStringBuilder is not visible
> >>>[error   6]: error at buf.append( EnvKeys.PARTITION_PROPERTIES ).append
> >>>( id );
> >>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:104:0 The type  
> >>>AbstractStringBuilder is not visible
> >>>[error   7]: error at buf.append( EnvKeys.INDICES ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:119:0 The type  
> >>>AbstractStringBuilder is not visible
> >>>[error   8]: error at buf.append( EnvKeys.ATTRIBUTES ).append( id );
> >>>^^^^^^^^^^^^^^^^^^^^^^^
> >>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> >>>apache/ldap/server/jndi/PartitionConfigBuilder.java:140:0 The type  
> >>>AbstractStringBuilder is not visible
> >>>
> >>>BUILD FAILED
> >>>File...... /home/elecharny/.maven/cache/maven-multiproject-
> >>>plugin-1.3.1/plugin.jelly
> >>>Element... maven:reactor
> >>>Line...... 217
> >>>Column.... 9
> >>>Unable to obtain goal [multiproject:install-callback]
> >>>-- /home/elecharny/.maven/cache/maven-aspectj-
> >>>plugin-3.2/plugin.jelly:59:40: <ant:iajc> 9 errors
> >>>Total time: 1 minutes 14 seconds
> >>>Finished at: Thu Apr 21 09:24:42 CEST 2005
> >>>
> >>>
> >>>On Thu, 2005-04-21 at 11:26 +0900, Trustin Lee wrote:
> >>>      
> >>>
> >>>>Hi,
> >>>>
> >>>>I tried to build apacheds-core from scratch, and it compiles without
> >>>>any errors and all test pass.  Strange...
> >>>>
> >>>>Trustin
> >>>>
> >>>>2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
> >>>>        
> >>>>
> >>>>>Ok Chris I just updated my entire directory trunk and found that the
> >>>>>buid is broken so tests would fail too.   Here's what I get ..
> >>>>>
> >>>>>[root@kerberos trunk]# java -version
> >>>>>java version "1.4.2_07"
> >>>>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
> >>>>>Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
> >>>>>[root@kerberos trunk]# maven multiproject:install
> >>>>>
> >>>>>...
> >>>>>
> >>>>>build:start:
> >>>>>
> >>>>>............................................
> >>>>>
> >>>>>In the core build I get the following ...
> >>>>>
> >>>>>    [echo] Compiling to  
> >>>>>/root/directory/apacheds/trunk/core/target/classes
> >>>>>    [javac] Compiling 340 source files to
> >>>>>/root/directory/apacheds/trunk/core/target/classes
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:171:
> >>>>>process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache 
> >>>>>.ldap.server.invocation.Invocation)
> >>>>>in org.apache.ldap.server.interceptor.Interceptor cannot be applied  
> >>>>>to
> >>>>>(<nulltype>,org.apache.ldap.server.jndi.Invocation)
> >>>>>        interceptor.process( null, call );
> >>>>>                   ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:195:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.GetMatchedDN)
> >>>>>            return ( Name ) JndiProvider.this.invoke( new  
> >>>>>GetMatchedDN(
> >>>>>dn, normalized ) );
> >>>>>                                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:199:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.GetSuffix)
> >>>>>            return ( Name ) JndiProvider.this.invoke( new GetSuffix(  
> >>>>>dn,
> >>>>>normalized ) );
> >>>>>                                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:203:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.ListSuffixes)
> >>>>>            return ( Iterator ) JndiProvider.this.invoke( new
> >>>>>ListSuffixes( normalized ) );
> >>>>>                                            ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:215:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.Delete)
> >>>>>            JndiProvider.this.invoke( new Delete( name ) );
> >>>>>                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:219:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.Add)
> >>>>>            JndiProvider.this.invoke( new Add( upName, normName,  
> >>>>>entry ) );
> >>>>>                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:223:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.Modify)
> >>>>>            JndiProvider.this.invoke( new Modify( name, modOp, mods  
> >>>>>) );
> >>>>>                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:227:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.ModifyMany)
> >>>>>            JndiProvider.this.invoke( new ModifyMany( name, mods ) );
> >>>>>                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:231:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.List)
> >>>>>            return ( NamingEnumeration ) JndiProvider.this.invoke(  
> >>>>>new
> >>>>>List( base ) );
> >>>>>                                                     ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:235:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.Search)
> >>>>>            return ( NamingEnumeration ) JndiProvider.this.invoke(  
> >>>>>new
> >>>>>Search( base, env, filter, searchCtls ) );
> >>>>>                                                     ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:239:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.Lookup)
> >>>>>            return ( Attributes ) JndiProvider.this.invoke( new  
> >>>>>Lookup(
> >>>>>name ) );
> >>>>>                                              ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:243:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.LookupWithAttrIds)
> >>>>>            return ( Attributes ) JndiProvider.this.invoke( new
> >>>>>LookupWithAttrIds( dn, attrIds ) );
> >>>>>                                              ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:247:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.HasEntry)
> >>>>>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> >>>>>HasEntry(name ) ) );
> >>>>>                                                    ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:251:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.IsSuffix)
> >>>>>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> >>>>>IsSuffix(name ) ) );
> >>>>>                                                    ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:255:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.ModifyRN)
> >>>>>            JndiProvider.this.invoke( new ModifyRN( name, newRn,
> >>>>>deleteOldRn ) );
> >>>>>                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:259:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.Move)
> >>>>>            JndiProvider.this.invoke( new Move( oriChildName,
> >>>>>newParentName ) );
> >>>>>                        ^
> >>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>>>>server/jndi/JndiProvider.java:263:
> >>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
> >>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>>>>(org.apache.ldap.server.invocation.MoveAndModifyRN)
> >>>>>            JndiProvider.this.invoke( new MoveAndModifyRN(  
> >>>>>oriChildName,
> >>>>>newParentName, newRn, deleteOldRn ) );
> >>>>>                        ^
> >>>>>17 errors
> >>>>>
> >>>>>BUILD FAILED
> >>>>>File......  
> >>>>>/root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> >>>>>Element... maven:reactor
> >>>>>Line...... 217
> >>>>>Column.... 9
> >>>>>Unable to obtain goal [multiproject:install-callback] --
> >>>>>/root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:  
> >>>>><ant:javac>
> >>>>>Compile failed; see the compiler error output for details.
> >>>>>Total time: 56 seconds
> >>>>>
> >>>>>Trustin you think any of this is related to the changes made within  
> >>>>>the
> >>>>>interceptor framework?
> >>>>>
> >>>>>Alex
> >>>>>
> >>>>>
> >>>>>          
> >>>>>
> >>>>        
> >>>>
> >>>      
> >>>
> >>---------------------------------------------------------------------------------------
> >>Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> >>Aucun virus connu a ce jour par nos services n'a ete detecte.
> >>
> >>
> >>    
> >>
> >
> >
> >
> >  
> >
> 
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Alex Karasulu <ao...@bellsouth.net>.
Looks like you have jdk 1.5 which makes build with this version of 
aspectj freak out.  Is my guess correct.

Alex

Emmanuel Lecharny wrote:

>Chris, 
>
>if you just need the jars, you can grab the last version right here :
>
>http://cvs.apache.org/repository/directory/jars/
>
>I've to go, office is waiting for me, but I gonna check what's happening
>with the build this evening.
>
>
>
>On Thu, 2005-04-21 at 17:36 +1000, Chris Betts wrote:
>  
>
>>Cool - at least I'm in good company :-)
>>
>>On 21/04/2005, at 5:30 PM, Emmanuel Lecharny wrote:
>>
>>    
>>
>>>Hi guys,
>>>
>>>here is what I get when trying to compile the whole stuff from
>>>apacheds/trunk launching maven multiproject:install :
>>>
>>>
>>>... (many lines) ...
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>multiproject:install-callback:
>>>    [echo] Running jar:install for ApacheDS Core
>>>java:prepare-filesystem:
>>>    [mkdir] Created
>>>dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>>Attempting to download ldap-common-0.9-SNAPSHOT.jar.
>>>Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
>>>
>>>java:compile:
>>>directory:schema:
>>>directory:init:
>>>
>>>directory:prepare-filesystem:
>>>    [mkdir] Created
>>>dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema
>>>
>>>directory:generate:
>>>    [echo] Generated schema producer classes for apachedns.schema
>>>    [echo] Generated schema producer classes for autofs.schema
>>>    [echo] Generated schema producer classes for core.schema
>>>    [echo] Generated schema producer classes for cosine.schema
>>>    [echo] Generated schema producer classes for corba.schema
>>>    [echo] Generated schema producer classes for apache.schema
>>>    [echo] Generated schema producer classes for inetorgperson.schema
>>>    [echo] Generated schema producer classes for java.schema
>>>    [echo] Generated schema producer classes for krb5kdc.schema
>>>    [echo] Generated schema producer classes for nis.schema
>>>    [echo] Generated schema producer classes for system.schema
>>>    [echo] Generated schema producer classes for dhcp.schema
>>>    [echo] Generated schema producer classes for samba.schema
>>>    [touch]
>>>Creating  
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/target/schema/ 
>>>.flagfile
>>>
>>>
>>>    [echo] Compiling
>>>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>>    [javac] Compiling 374 source files
>>>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>>warning couldn't find aspectjrt.jar on classpath, checked:
>>>
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/db/gui/EntryNode.java:191 error The type  
>>>AbstractStringBuilder is not visible
>>>buf.append( "(" ).append( id ).append( ") " );
>>>^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/db/gui/EntryNode.java:202 error The type  
>>>AbstractStringBuilder is not visible
>>>buf.append( " [" ).append( children.size() ).append( "]" );
>>>^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67 error The  
>>>type AbstractStringBuilder is not visible
>>>buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80 error The  
>>>type AbstractStringBuilder is not visible
>>>buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append
>>>( authenticatorName );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:72 error The type  
>>>AbstractStringBuilder is not visible
>>>buf.append( EnvKeys.SUFFIX ).append( id );
>>>^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:89 error The type  
>>>AbstractStringBuilder is not visible
>>>buf.append( EnvKeys.PARTITION_CLASS ).append( id );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:104 error The type  
>>>AbstractStringBuilder is not visible
>>>buf.append( EnvKeys.PARTITION_PROPERTIES ).append( id );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:119 error The type  
>>>AbstractStringBuilder is not visible
>>>buf.append( EnvKeys.INDICES ).append( id );
>>>^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:140 error The type  
>>>AbstractStringBuilder is not visible
>>>buf.append( EnvKeys.ATTRIBUTES ).append( id );
>>>^^^^^^^^^^^^^^^^^^^^^^^
>>>aspectj:init:
>>>
>>>aspectj:compile:
>>>    [iajc] Copying 7 files
>>>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>>MessageHolder:  (1 warning)  (9 error)
>>>[error   0]: error at buf.append( "(" ).append( id ).append( ") " );
>>>^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/db/gui/EntryNode.java:191:0 The type  
>>>AbstractStringBuilder is not visible[error   1]: error at buf.append(  
>>>" [" ).append( children.size() ).append( "]" );
>>>^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/db/gui/EntryNode.java:202:0 The type  
>>>AbstractStringBuilder is not visible[error   2]: error at buf.append(  
>>>EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67:0 The type  
>>>AbstractStringBuilder is not visible
>>>[error   3]: error at buf.append
>>>( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80:0 The type  
>>>AbstractStringBuilder is not visible
>>>[error   4]: error at buf.append( EnvKeys.SUFFIX ).append( id );
>>>^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:72:0 The type  
>>>AbstractStringBuilder is not visible
>>>[error   5]: error at buf.append( EnvKeys.PARTITION_CLASS ).append
>>>( id );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:89:0 The type  
>>>AbstractStringBuilder is not visible
>>>[error   6]: error at buf.append( EnvKeys.PARTITION_PROPERTIES ).append
>>>( id );
>>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:104:0 The type  
>>>AbstractStringBuilder is not visible
>>>[error   7]: error at buf.append( EnvKeys.INDICES ).append( id );
>>>^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:119:0 The type  
>>>AbstractStringBuilder is not visible
>>>[error   8]: error at buf.append( EnvKeys.ATTRIBUTES ).append( id );
>>>^^^^^^^^^^^^^^^^^^^^^^^
>>>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
>>>apache/ldap/server/jndi/PartitionConfigBuilder.java:140:0 The type  
>>>AbstractStringBuilder is not visible
>>>
>>>BUILD FAILED
>>>File...... /home/elecharny/.maven/cache/maven-multiproject-
>>>plugin-1.3.1/plugin.jelly
>>>Element... maven:reactor
>>>Line...... 217
>>>Column.... 9
>>>Unable to obtain goal [multiproject:install-callback]
>>>-- /home/elecharny/.maven/cache/maven-aspectj-
>>>plugin-3.2/plugin.jelly:59:40: <ant:iajc> 9 errors
>>>Total time: 1 minutes 14 seconds
>>>Finished at: Thu Apr 21 09:24:42 CEST 2005
>>>
>>>
>>>On Thu, 2005-04-21 at 11:26 +0900, Trustin Lee wrote:
>>>      
>>>
>>>>Hi,
>>>>
>>>>I tried to build apacheds-core from scratch, and it compiles without
>>>>any errors and all test pass.  Strange...
>>>>
>>>>Trustin
>>>>
>>>>2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
>>>>        
>>>>
>>>>>Ok Chris I just updated my entire directory trunk and found that the
>>>>>buid is broken so tests would fail too.   Here's what I get ..
>>>>>
>>>>>[root@kerberos trunk]# java -version
>>>>>java version "1.4.2_07"
>>>>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
>>>>>Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
>>>>>[root@kerberos trunk]# maven multiproject:install
>>>>>
>>>>>...
>>>>>
>>>>>build:start:
>>>>>
>>>>>............................................
>>>>>
>>>>>In the core build I get the following ...
>>>>>
>>>>>    [echo] Compiling to  
>>>>>/root/directory/apacheds/trunk/core/target/classes
>>>>>    [javac] Compiling 340 source files to
>>>>>/root/directory/apacheds/trunk/core/target/classes
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:171:
>>>>>process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache 
>>>>>.ldap.server.invocation.Invocation)
>>>>>in org.apache.ldap.server.interceptor.Interceptor cannot be applied  
>>>>>to
>>>>>(<nulltype>,org.apache.ldap.server.jndi.Invocation)
>>>>>        interceptor.process( null, call );
>>>>>                   ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:195:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.GetMatchedDN)
>>>>>            return ( Name ) JndiProvider.this.invoke( new  
>>>>>GetMatchedDN(
>>>>>dn, normalized ) );
>>>>>                                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:199:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.GetSuffix)
>>>>>            return ( Name ) JndiProvider.this.invoke( new GetSuffix(  
>>>>>dn,
>>>>>normalized ) );
>>>>>                                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:203:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.ListSuffixes)
>>>>>            return ( Iterator ) JndiProvider.this.invoke( new
>>>>>ListSuffixes( normalized ) );
>>>>>                                            ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:215:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.Delete)
>>>>>            JndiProvider.this.invoke( new Delete( name ) );
>>>>>                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:219:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.Add)
>>>>>            JndiProvider.this.invoke( new Add( upName, normName,  
>>>>>entry ) );
>>>>>                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:223:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.Modify)
>>>>>            JndiProvider.this.invoke( new Modify( name, modOp, mods  
>>>>>) );
>>>>>                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:227:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.ModifyMany)
>>>>>            JndiProvider.this.invoke( new ModifyMany( name, mods ) );
>>>>>                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:231:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.List)
>>>>>            return ( NamingEnumeration ) JndiProvider.this.invoke(  
>>>>>new
>>>>>List( base ) );
>>>>>                                                     ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:235:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.Search)
>>>>>            return ( NamingEnumeration ) JndiProvider.this.invoke(  
>>>>>new
>>>>>Search( base, env, filter, searchCtls ) );
>>>>>                                                     ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:239:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.Lookup)
>>>>>            return ( Attributes ) JndiProvider.this.invoke( new  
>>>>>Lookup(
>>>>>name ) );
>>>>>                                              ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:243:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.LookupWithAttrIds)
>>>>>            return ( Attributes ) JndiProvider.this.invoke( new
>>>>>LookupWithAttrIds( dn, attrIds ) );
>>>>>                                              ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:247:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.HasEntry)
>>>>>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>>>>>HasEntry(name ) ) );
>>>>>                                                    ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:251:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.IsSuffix)
>>>>>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>>>>>IsSuffix(name ) ) );
>>>>>                                                    ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:255:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.ModifyRN)
>>>>>            JndiProvider.this.invoke( new ModifyRN( name, newRn,
>>>>>deleteOldRn ) );
>>>>>                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:259:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.Move)
>>>>>            JndiProvider.this.invoke( new Move( oriChildName,
>>>>>newParentName ) );
>>>>>                        ^
>>>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>>>>server/jndi/JndiProvider.java:263:
>>>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>>(org.apache.ldap.server.invocation.MoveAndModifyRN)
>>>>>            JndiProvider.this.invoke( new MoveAndModifyRN(  
>>>>>oriChildName,
>>>>>newParentName, newRn, deleteOldRn ) );
>>>>>                        ^
>>>>>17 errors
>>>>>
>>>>>BUILD FAILED
>>>>>File......  
>>>>>/root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>>>>>Element... maven:reactor
>>>>>Line...... 217
>>>>>Column.... 9
>>>>>Unable to obtain goal [multiproject:install-callback] --
>>>>>/root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:  
>>>>><ant:javac>
>>>>>Compile failed; see the compiler error output for details.
>>>>>Total time: 56 seconds
>>>>>
>>>>>Trustin you think any of this is related to the changes made within  
>>>>>the
>>>>>interceptor framework?
>>>>>
>>>>>Alex
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>        
>>>>
>>>      
>>>
>>---------------------------------------------------------------------------------------
>>Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
>>Aucun virus connu a ce jour par nos services n'a ete detecte.
>>
>>
>>    
>>
>
>
>
>  
>


Whoo Hoo!

Posted by Chris Betts <ch...@pegacat.com>.
O.k., I still can't build (as per previous post), but at least I was  
able to use the jars from the download to get the server working, and  
JXplorer connected first time without any dramas.

Sweet!

  So I'm on my way at last, and thanks for the help :-).

   - Chris

On 21/04/2005, at 5:54 PM, Emmanuel Lecharny wrote:

> Chris,
>
> if you just need the jars, you can grab the last version right here :
>
> http://cvs.apache.org/repository/directory/jars/
>
> I've to go, office is waiting for me, but I gonna check what's  
> happening
> with the build this evening.
>
>
>
> On Thu, 2005-04-21 at 17:36 +1000, Chris Betts wrote:
>> Cool - at least I'm in good company :-)
>>
>> On 21/04/2005, at 5:30 PM, Emmanuel Lecharny wrote:
>>
>>> Hi guys,
>>>
>>> here is what I get when trying to compile the whole stuff from
>>> apacheds/trunk launching maven multiproject:install :
>>>
>>>
>>> ... (many lines) ...
>>>
>>> build:end:
>>>
>>> build:start:
>>>
>>> multiproject:install-callback:
>>>     [echo] Running jar:install for ApacheDS Core
>>> java:prepare-filesystem:
>>>     [mkdir] Created
>>> dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
>>> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
>>>
>>> java:compile:
>>> directory:schema:
>>> directory:init:
>>>
>>> directory:prepare-filesystem:
>>>     [mkdir] Created
>>> dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema
>>>
>>> directory:generate:
>>>     [echo] Generated schema producer classes for apachedns.schema
>>>     [echo] Generated schema producer classes for autofs.schema
>>>     [echo] Generated schema producer classes for core.schema
>>>     [echo] Generated schema producer classes for cosine.schema
>>>     [echo] Generated schema producer classes for corba.schema
>>>     [echo] Generated schema producer classes for apache.schema
>>>     [echo] Generated schema producer classes for inetorgperson.schema
>>>     [echo] Generated schema producer classes for java.schema
>>>     [echo] Generated schema producer classes for krb5kdc.schema
>>>     [echo] Generated schema producer classes for nis.schema
>>>     [echo] Generated schema producer classes for system.schema
>>>     [echo] Generated schema producer classes for dhcp.schema
>>>     [echo] Generated schema producer classes for samba.schema
>>>     [touch]
>>> Creating
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema/
>>> .flagfile
>>>
>>>
>>>     [echo] Compiling
>>> to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>>     [javac] Compiling 374 source files
>>> to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>> warning couldn't find aspectjrt.jar on classpath, checked:
>>>
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/db/gui/EntryNode.java:191 error The type
>>> AbstractStringBuilder is not visible
>>> buf.append( "(" ).append( id ).append( ") " );
>>> ^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/db/gui/EntryNode.java:202 error The type
>>> AbstractStringBuilder is not visible
>>> buf.append( " [" ).append( children.size() ).append( "]" );
>>> ^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67 error The
>>> type AbstractStringBuilder is not visible
>>> buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName  
>>> );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80 error The
>>> type AbstractStringBuilder is not visible
>>> buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append
>>> ( authenticatorName );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:72 error The type
>>> AbstractStringBuilder is not visible
>>> buf.append( EnvKeys.SUFFIX ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:89 error The type
>>> AbstractStringBuilder is not visible
>>> buf.append( EnvKeys.PARTITION_CLASS ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:104 error The  
>>> type
>>> AbstractStringBuilder is not visible
>>> buf.append( EnvKeys.PARTITION_PROPERTIES ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:119 error The  
>>> type
>>> AbstractStringBuilder is not visible
>>> buf.append( EnvKeys.INDICES ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:140 error The  
>>> type
>>> AbstractStringBuilder is not visible
>>> buf.append( EnvKeys.ATTRIBUTES ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^^^^^
>>> aspectj:init:
>>>
>>> aspectj:compile:
>>>     [iajc] Copying 7 files
>>> to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>>> MessageHolder:  (1 warning)  (9 error)
>>> [error   0]: error at buf.append( "(" ).append( id ).append( ") " );
>>> ^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/db/gui/EntryNode.java:191:0 The type
>>> AbstractStringBuilder is not visible[error   1]: error at buf.append(
>>> " [" ).append( children.size() ).append( "]" );
>>> ^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/db/gui/EntryNode.java:202:0 The type
>>> AbstractStringBuilder is not visible[error   2]: error at buf.append(
>>> EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67:0 The  
>>> type
>>> AbstractStringBuilder is not visible
>>> [error   3]: error at buf.append
>>> ( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80:0 The  
>>> type
>>> AbstractStringBuilder is not visible
>>> [error   4]: error at buf.append( EnvKeys.SUFFIX ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:72:0 The type
>>> AbstractStringBuilder is not visible
>>> [error   5]: error at buf.append( EnvKeys.PARTITION_CLASS ).append
>>> ( id );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:89:0 The type
>>> AbstractStringBuilder is not visible
>>> [error   6]: error at buf.append( EnvKeys.PARTITION_PROPERTIES  
>>> ).append
>>> ( id );
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:104:0 The type
>>> AbstractStringBuilder is not visible
>>> [error   7]: error at buf.append( EnvKeys.INDICES ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:119:0 The type
>>> AbstractStringBuilder is not visible
>>> [error   8]: error at buf.append( EnvKeys.ATTRIBUTES ).append( id );
>>> ^^^^^^^^^^^^^^^^^^^^^^^
>>> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/
>>> apache/ldap/server/jndi/PartitionConfigBuilder.java:140:0 The type
>>> AbstractStringBuilder is not visible
>>>
>>> BUILD FAILED
>>> File...... /home/elecharny/.maven/cache/maven-multiproject-
>>> plugin-1.3.1/plugin.jelly
>>> Element... maven:reactor
>>> Line...... 217
>>> Column.... 9
>>> Unable to obtain goal [multiproject:install-callback]
>>> -- /home/elecharny/.maven/cache/maven-aspectj-
>>> plugin-3.2/plugin.jelly:59:40: <ant:iajc> 9 errors
>>> Total time: 1 minutes 14 seconds
>>> Finished at: Thu Apr 21 09:24:42 CEST 2005
>>>
>>>
>>> On Thu, 2005-04-21 at 11:26 +0900, Trustin Lee wrote:
>>>> Hi,
>>>>
>>>> I tried to build apacheds-core from scratch, and it compiles without
>>>> any errors and all test pass.  Strange...
>>>>
>>>> Trustin
>>>>
>>>> 2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
>>>>> Ok Chris I just updated my entire directory trunk and found that  
>>>>> the
>>>>> buid is broken so tests would fail too.   Here's what I get ..
>>>>>
>>>>> [root@kerberos trunk]# java -version
>>>>> java version "1.4.2_07"
>>>>> Java(TM) 2 Runtime Environment, Standard Edition (build  
>>>>> 1.4.2_07-b05)
>>>>> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
>>>>> [root@kerberos trunk]# maven multiproject:install
>>>>>
>>>>> ...
>>>>>
>>>>> build:start:
>>>>>
>>>>> ............................................
>>>>>
>>>>> In the core build I get the following ...
>>>>>
>>>>>     [echo] Compiling to
>>>>> /root/directory/apacheds/trunk/core/target/classes
>>>>>     [javac] Compiling 340 source files to
>>>>> /root/directory/apacheds/trunk/core/target/classes
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:171:
>>>>> process(org.apache.ldap.server.interceptor.NextInterceptor,org.apac 
>>>>> he
>>>>> .ldap.server.invocation.Invocation)
>>>>> in org.apache.ldap.server.interceptor.Interceptor cannot be applied
>>>>> to
>>>>> (<nulltype>,org.apache.ldap.server.jndi.Invocation)
>>>>>         interceptor.process( null, call );
>>>>>                    ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:195:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.GetMatchedDN)
>>>>>             return ( Name ) JndiProvider.this.invoke( new
>>>>> GetMatchedDN(
>>>>> dn, normalized ) );
>>>>>                                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:199:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.GetSuffix)
>>>>>             return ( Name ) JndiProvider.this.invoke( new  
>>>>> GetSuffix(
>>>>> dn,
>>>>> normalized ) );
>>>>>                                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:203:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.ListSuffixes)
>>>>>             return ( Iterator ) JndiProvider.this.invoke( new
>>>>> ListSuffixes( normalized ) );
>>>>>                                             ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:215:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.Delete)
>>>>>             JndiProvider.this.invoke( new Delete( name ) );
>>>>>                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:219:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.Add)
>>>>>             JndiProvider.this.invoke( new Add( upName, normName,
>>>>> entry ) );
>>>>>                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:223:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.Modify)
>>>>>             JndiProvider.this.invoke( new Modify( name, modOp, mods
>>>>> ) );
>>>>>                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:227:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.ModifyMany)
>>>>>             JndiProvider.this.invoke( new ModifyMany( name, mods )  
>>>>> );
>>>>>                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:231:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.List)
>>>>>             return ( NamingEnumeration ) JndiProvider.this.invoke(
>>>>> new
>>>>> List( base ) );
>>>>>                                                      ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:235:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.Search)
>>>>>             return ( NamingEnumeration ) JndiProvider.this.invoke(
>>>>> new
>>>>> Search( base, env, filter, searchCtls ) );
>>>>>                                                      ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:239:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.Lookup)
>>>>>             return ( Attributes ) JndiProvider.this.invoke( new
>>>>> Lookup(
>>>>> name ) );
>>>>>                                               ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:243:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.LookupWithAttrIds)
>>>>>             return ( Attributes ) JndiProvider.this.invoke( new
>>>>> LookupWithAttrIds( dn, attrIds ) );
>>>>>                                               ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:247:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.HasEntry)
>>>>>             return Boolean.TRUE.equals( JndiProvider.this.invoke(  
>>>>> new
>>>>> HasEntry(name ) ) );
>>>>>                                                     ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:251:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.IsSuffix)
>>>>>             return Boolean.TRUE.equals( JndiProvider.this.invoke(  
>>>>> new
>>>>> IsSuffix(name ) ) );
>>>>>                                                     ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:255:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.ModifyRN)
>>>>>             JndiProvider.this.invoke( new ModifyRN( name, newRn,
>>>>> deleteOldRn ) );
>>>>>                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:259:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.Move)
>>>>>             JndiProvider.this.invoke( new Move( oriChildName,
>>>>> newParentName ) );
>>>>>                         ^
>>>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/
>>>>> server/jndi/JndiProvider.java:263:
>>>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>>> (org.apache.ldap.server.invocation.MoveAndModifyRN)
>>>>>             JndiProvider.this.invoke( new MoveAndModifyRN(
>>>>> oriChildName,
>>>>> newParentName, newRn, deleteOldRn ) );
>>>>>                         ^
>>>>> 17 errors
>>>>>
>>>>> BUILD FAILED
>>>>> File......
>>>>> /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>>>>> Element... maven:reactor
>>>>> Line...... 217
>>>>> Column.... 9
>>>>> Unable to obtain goal [multiproject:install-callback] --
>>>>> /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:
>>>>> <ant:javac>
>>>>> Compile failed; see the compiler error output for details.
>>>>> Total time: 56 seconds
>>>>>
>>>>> Trustin you think any of this is related to the changes made within
>>>>> the
>>>>> interceptor framework?
>>>>>
>>>>> Alex
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------- 
>> -----------------
>> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus  
>> mail.
>> Aucun virus connu a ce jour par nos services n'a ete detecte.
>>
>>
>
>


Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Emmanuel Lecharny <el...@apache.org>.
Chris, 

if you just need the jars, you can grab the last version right here :

http://cvs.apache.org/repository/directory/jars/

I've to go, office is waiting for me, but I gonna check what's happening
with the build this evening.



On Thu, 2005-04-21 at 17:36 +1000, Chris Betts wrote:
> Cool - at least I'm in good company :-)
> 
> On 21/04/2005, at 5:30 PM, Emmanuel Lecharny wrote:
> 
> > Hi guys,
> >
> > here is what I get when trying to compile the whole stuff from
> > apacheds/trunk launching maven multiproject:install :
> >
> >
> > ... (many lines) ...
> >
> > build:end:
> >
> > build:start:
> >
> > multiproject:install-callback:
> >     [echo] Running jar:install for ApacheDS Core
> > java:prepare-filesystem:
> >     [mkdir] Created
> > dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> > Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> > Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
> >
> > java:compile:
> > directory:schema:
> > directory:init:
> >
> > directory:prepare-filesystem:
> >     [mkdir] Created
> > dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema
> >
> > directory:generate:
> >     [echo] Generated schema producer classes for apachedns.schema
> >     [echo] Generated schema producer classes for autofs.schema
> >     [echo] Generated schema producer classes for core.schema
> >     [echo] Generated schema producer classes for cosine.schema
> >     [echo] Generated schema producer classes for corba.schema
> >     [echo] Generated schema producer classes for apache.schema
> >     [echo] Generated schema producer classes for inetorgperson.schema
> >     [echo] Generated schema producer classes for java.schema
> >     [echo] Generated schema producer classes for krb5kdc.schema
> >     [echo] Generated schema producer classes for nis.schema
> >     [echo] Generated schema producer classes for system.schema
> >     [echo] Generated schema producer classes for dhcp.schema
> >     [echo] Generated schema producer classes for samba.schema
> >     [touch]
> > Creating  
> > /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema/ 
> > .flagfile
> >
> >
> >     [echo] Compiling
> > to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> >     [javac] Compiling 374 source files
> > to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> > warning couldn't find aspectjrt.jar on classpath, checked:
> >
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/db/gui/EntryNode.java:191 error The type  
> > AbstractStringBuilder is not visible
> > buf.append( "(" ).append( id ).append( ") " );
> > ^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/db/gui/EntryNode.java:202 error The type  
> > AbstractStringBuilder is not visible
> > buf.append( " [" ).append( children.size() ).append( "]" );
> > ^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67 error The  
> > type AbstractStringBuilder is not visible
> > buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80 error The  
> > type AbstractStringBuilder is not visible
> > buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append
> > ( authenticatorName );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:72 error The type  
> > AbstractStringBuilder is not visible
> > buf.append( EnvKeys.SUFFIX ).append( id );
> > ^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:89 error The type  
> > AbstractStringBuilder is not visible
> > buf.append( EnvKeys.PARTITION_CLASS ).append( id );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:104 error The type  
> > AbstractStringBuilder is not visible
> > buf.append( EnvKeys.PARTITION_PROPERTIES ).append( id );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:119 error The type  
> > AbstractStringBuilder is not visible
> > buf.append( EnvKeys.INDICES ).append( id );
> > ^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:140 error The type  
> > AbstractStringBuilder is not visible
> > buf.append( EnvKeys.ATTRIBUTES ).append( id );
> > ^^^^^^^^^^^^^^^^^^^^^^^
> > aspectj:init:
> >
> > aspectj:compile:
> >     [iajc] Copying 7 files
> > to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> > MessageHolder:  (1 warning)  (9 error)
> > [error   0]: error at buf.append( "(" ).append( id ).append( ") " );
> > ^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/db/gui/EntryNode.java:191:0 The type  
> > AbstractStringBuilder is not visible[error   1]: error at buf.append(  
> > " [" ).append( children.size() ).append( "]" );
> > ^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/db/gui/EntryNode.java:202:0 The type  
> > AbstractStringBuilder is not visible[error   2]: error at buf.append(  
> > EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67:0 The type  
> > AbstractStringBuilder is not visible
> > [error   3]: error at buf.append
> > ( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80:0 The type  
> > AbstractStringBuilder is not visible
> > [error   4]: error at buf.append( EnvKeys.SUFFIX ).append( id );
> > ^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:72:0 The type  
> > AbstractStringBuilder is not visible
> > [error   5]: error at buf.append( EnvKeys.PARTITION_CLASS ).append
> > ( id );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:89:0 The type  
> > AbstractStringBuilder is not visible
> > [error   6]: error at buf.append( EnvKeys.PARTITION_PROPERTIES ).append
> > ( id );
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:104:0 The type  
> > AbstractStringBuilder is not visible
> > [error   7]: error at buf.append( EnvKeys.INDICES ).append( id );
> > ^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:119:0 The type  
> > AbstractStringBuilder is not visible
> > [error   8]: error at buf.append( EnvKeys.ATTRIBUTES ).append( id );
> > ^^^^^^^^^^^^^^^^^^^^^^^
> > /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> > apache/ldap/server/jndi/PartitionConfigBuilder.java:140:0 The type  
> > AbstractStringBuilder is not visible
> >
> > BUILD FAILED
> > File...... /home/elecharny/.maven/cache/maven-multiproject-
> > plugin-1.3.1/plugin.jelly
> > Element... maven:reactor
> > Line...... 217
> > Column.... 9
> > Unable to obtain goal [multiproject:install-callback]
> > -- /home/elecharny/.maven/cache/maven-aspectj-
> > plugin-3.2/plugin.jelly:59:40: <ant:iajc> 9 errors
> > Total time: 1 minutes 14 seconds
> > Finished at: Thu Apr 21 09:24:42 CEST 2005
> >
> >
> > On Thu, 2005-04-21 at 11:26 +0900, Trustin Lee wrote:
> >> Hi,
> >>
> >> I tried to build apacheds-core from scratch, and it compiles without
> >> any errors and all test pass.  Strange...
> >>
> >> Trustin
> >>
> >> 2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
> >>> Ok Chris I just updated my entire directory trunk and found that the
> >>> buid is broken so tests would fail too.   Here's what I get ..
> >>>
> >>> [root@kerberos trunk]# java -version
> >>> java version "1.4.2_07"
> >>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
> >>> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
> >>> [root@kerberos trunk]# maven multiproject:install
> >>>
> >>> ...
> >>>
> >>> build:start:
> >>>
> >>> ............................................
> >>>
> >>> In the core build I get the following ...
> >>>
> >>>     [echo] Compiling to  
> >>> /root/directory/apacheds/trunk/core/target/classes
> >>>     [javac] Compiling 340 source files to
> >>> /root/directory/apacheds/trunk/core/target/classes
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:171:
> >>> process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache 
> >>> .ldap.server.invocation.Invocation)
> >>> in org.apache.ldap.server.interceptor.Interceptor cannot be applied  
> >>> to
> >>> (<nulltype>,org.apache.ldap.server.jndi.Invocation)
> >>>         interceptor.process( null, call );
> >>>                    ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:195:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.GetMatchedDN)
> >>>             return ( Name ) JndiProvider.this.invoke( new  
> >>> GetMatchedDN(
> >>> dn, normalized ) );
> >>>                                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:199:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.GetSuffix)
> >>>             return ( Name ) JndiProvider.this.invoke( new GetSuffix(  
> >>> dn,
> >>> normalized ) );
> >>>                                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:203:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.ListSuffixes)
> >>>             return ( Iterator ) JndiProvider.this.invoke( new
> >>> ListSuffixes( normalized ) );
> >>>                                             ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:215:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.Delete)
> >>>             JndiProvider.this.invoke( new Delete( name ) );
> >>>                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:219:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.Add)
> >>>             JndiProvider.this.invoke( new Add( upName, normName,  
> >>> entry ) );
> >>>                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:223:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.Modify)
> >>>             JndiProvider.this.invoke( new Modify( name, modOp, mods  
> >>> ) );
> >>>                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:227:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.ModifyMany)
> >>>             JndiProvider.this.invoke( new ModifyMany( name, mods ) );
> >>>                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:231:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.List)
> >>>             return ( NamingEnumeration ) JndiProvider.this.invoke(  
> >>> new
> >>> List( base ) );
> >>>                                                      ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:235:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.Search)
> >>>             return ( NamingEnumeration ) JndiProvider.this.invoke(  
> >>> new
> >>> Search( base, env, filter, searchCtls ) );
> >>>                                                      ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:239:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.Lookup)
> >>>             return ( Attributes ) JndiProvider.this.invoke( new  
> >>> Lookup(
> >>> name ) );
> >>>                                               ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:243:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.LookupWithAttrIds)
> >>>             return ( Attributes ) JndiProvider.this.invoke( new
> >>> LookupWithAttrIds( dn, attrIds ) );
> >>>                                               ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:247:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.HasEntry)
> >>>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> >>> HasEntry(name ) ) );
> >>>                                                     ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:251:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.IsSuffix)
> >>>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> >>> IsSuffix(name ) ) );
> >>>                                                     ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:255:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.ModifyRN)
> >>>             JndiProvider.this.invoke( new ModifyRN( name, newRn,
> >>> deleteOldRn ) );
> >>>                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:259:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.Move)
> >>>             JndiProvider.this.invoke( new Move( oriChildName,
> >>> newParentName ) );
> >>>                         ^
> >>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> >>> server/jndi/JndiProvider.java:263:
> >>> invoke(org.apache.ldap.server.jndi.Invocation) in
> >>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> >>> (org.apache.ldap.server.invocation.MoveAndModifyRN)
> >>>             JndiProvider.this.invoke( new MoveAndModifyRN(  
> >>> oriChildName,
> >>> newParentName, newRn, deleteOldRn ) );
> >>>                         ^
> >>> 17 errors
> >>>
> >>> BUILD FAILED
> >>> File......  
> >>> /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> >>> Element... maven:reactor
> >>> Line...... 217
> >>> Column.... 9
> >>> Unable to obtain goal [multiproject:install-callback] --
> >>> /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:  
> >>> <ant:javac>
> >>> Compile failed; see the compiler error output for details.
> >>> Total time: 56 seconds
> >>>
> >>> Trustin you think any of this is related to the changes made within  
> >>> the
> >>> interceptor framework?
> >>>
> >>> Alex
> >>>
> >>>
> >>
> >>
> >
> >
> 
> ---------------------------------------------------------------------------------------
> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Chris Betts <ch...@pegacat.com>.
Cool - at least I'm in good company :-)

On 21/04/2005, at 5:30 PM, Emmanuel Lecharny wrote:

> Hi guys,
>
> here is what I get when trying to compile the whole stuff from
> apacheds/trunk launching maven multiproject:install :
>
>
> ... (many lines) ...
>
> build:end:
>
> build:start:
>
> multiproject:install-callback:
>     [echo] Running jar:install for ApacheDS Core
> java:prepare-filesystem:
>     [mkdir] Created
> dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> Attempting to download ldap-common-0.9-SNAPSHOT.jar.
> Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
>
> java:compile:
> directory:schema:
> directory:init:
>
> directory:prepare-filesystem:
>     [mkdir] Created
> dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema
>
> directory:generate:
>     [echo] Generated schema producer classes for apachedns.schema
>     [echo] Generated schema producer classes for autofs.schema
>     [echo] Generated schema producer classes for core.schema
>     [echo] Generated schema producer classes for cosine.schema
>     [echo] Generated schema producer classes for corba.schema
>     [echo] Generated schema producer classes for apache.schema
>     [echo] Generated schema producer classes for inetorgperson.schema
>     [echo] Generated schema producer classes for java.schema
>     [echo] Generated schema producer classes for krb5kdc.schema
>     [echo] Generated schema producer classes for nis.schema
>     [echo] Generated schema producer classes for system.schema
>     [echo] Generated schema producer classes for dhcp.schema
>     [echo] Generated schema producer classes for samba.schema
>     [touch]
> Creating  
> /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema/ 
> .flagfile
>
>
>     [echo] Compiling
> to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>     [javac] Compiling 374 source files
> to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> warning couldn't find aspectjrt.jar on classpath, checked:
>
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/db/gui/EntryNode.java:191 error The type  
> AbstractStringBuilder is not visible
> buf.append( "(" ).append( id ).append( ") " );
> ^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/db/gui/EntryNode.java:202 error The type  
> AbstractStringBuilder is not visible
> buf.append( " [" ).append( children.size() ).append( "]" );
> ^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67 error The  
> type AbstractStringBuilder is not visible
> buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80 error The  
> type AbstractStringBuilder is not visible
> buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append
> ( authenticatorName );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:72 error The type  
> AbstractStringBuilder is not visible
> buf.append( EnvKeys.SUFFIX ).append( id );
> ^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:89 error The type  
> AbstractStringBuilder is not visible
> buf.append( EnvKeys.PARTITION_CLASS ).append( id );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:104 error The type  
> AbstractStringBuilder is not visible
> buf.append( EnvKeys.PARTITION_PROPERTIES ).append( id );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:119 error The type  
> AbstractStringBuilder is not visible
> buf.append( EnvKeys.INDICES ).append( id );
> ^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:140 error The type  
> AbstractStringBuilder is not visible
> buf.append( EnvKeys.ATTRIBUTES ).append( id );
> ^^^^^^^^^^^^^^^^^^^^^^^
> aspectj:init:
>
> aspectj:compile:
>     [iajc] Copying 7 files
> to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
> MessageHolder:  (1 warning)  (9 error)
> [error   0]: error at buf.append( "(" ).append( id ).append( ") " );
> ^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/db/gui/EntryNode.java:191:0 The type  
> AbstractStringBuilder is not visible[error   1]: error at buf.append(  
> " [" ).append( children.size() ).append( "]" );
> ^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/db/gui/EntryNode.java:202:0 The type  
> AbstractStringBuilder is not visible[error   2]: error at buf.append(  
> EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67:0 The type  
> AbstractStringBuilder is not visible
> [error   3]: error at buf.append
> ( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80:0 The type  
> AbstractStringBuilder is not visible
> [error   4]: error at buf.append( EnvKeys.SUFFIX ).append( id );
> ^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:72:0 The type  
> AbstractStringBuilder is not visible
> [error   5]: error at buf.append( EnvKeys.PARTITION_CLASS ).append
> ( id );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:89:0 The type  
> AbstractStringBuilder is not visible
> [error   6]: error at buf.append( EnvKeys.PARTITION_PROPERTIES ).append
> ( id );
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:104:0 The type  
> AbstractStringBuilder is not visible
> [error   7]: error at buf.append( EnvKeys.INDICES ).append( id );
> ^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:119:0 The type  
> AbstractStringBuilder is not visible
> [error   8]: error at buf.append( EnvKeys.ATTRIBUTES ).append( id );
> ^^^^^^^^^^^^^^^^^^^^^^^
> /home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/ 
> apache/ldap/server/jndi/PartitionConfigBuilder.java:140:0 The type  
> AbstractStringBuilder is not visible
>
> BUILD FAILED
> File...... /home/elecharny/.maven/cache/maven-multiproject-
> plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback]
> -- /home/elecharny/.maven/cache/maven-aspectj-
> plugin-3.2/plugin.jelly:59:40: <ant:iajc> 9 errors
> Total time: 1 minutes 14 seconds
> Finished at: Thu Apr 21 09:24:42 CEST 2005
>
>
> On Thu, 2005-04-21 at 11:26 +0900, Trustin Lee wrote:
>> Hi,
>>
>> I tried to build apacheds-core from scratch, and it compiles without
>> any errors and all test pass.  Strange...
>>
>> Trustin
>>
>> 2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
>>> Ok Chris I just updated my entire directory trunk and found that the
>>> buid is broken so tests would fail too.   Here's what I get ..
>>>
>>> [root@kerberos trunk]# java -version
>>> java version "1.4.2_07"
>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
>>> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
>>> [root@kerberos trunk]# maven multiproject:install
>>>
>>> ...
>>>
>>> build:start:
>>>
>>> ............................................
>>>
>>> In the core build I get the following ...
>>>
>>>     [echo] Compiling to  
>>> /root/directory/apacheds/trunk/core/target/classes
>>>     [javac] Compiling 340 source files to
>>> /root/directory/apacheds/trunk/core/target/classes
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:171:
>>> process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache 
>>> .ldap.server.invocation.Invocation)
>>> in org.apache.ldap.server.interceptor.Interceptor cannot be applied  
>>> to
>>> (<nulltype>,org.apache.ldap.server.jndi.Invocation)
>>>         interceptor.process( null, call );
>>>                    ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:195:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.GetMatchedDN)
>>>             return ( Name ) JndiProvider.this.invoke( new  
>>> GetMatchedDN(
>>> dn, normalized ) );
>>>                                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:199:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.GetSuffix)
>>>             return ( Name ) JndiProvider.this.invoke( new GetSuffix(  
>>> dn,
>>> normalized ) );
>>>                                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:203:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.ListSuffixes)
>>>             return ( Iterator ) JndiProvider.this.invoke( new
>>> ListSuffixes( normalized ) );
>>>                                             ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:215:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.Delete)
>>>             JndiProvider.this.invoke( new Delete( name ) );
>>>                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:219:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.Add)
>>>             JndiProvider.this.invoke( new Add( upName, normName,  
>>> entry ) );
>>>                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:223:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.Modify)
>>>             JndiProvider.this.invoke( new Modify( name, modOp, mods  
>>> ) );
>>>                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:227:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.ModifyMany)
>>>             JndiProvider.this.invoke( new ModifyMany( name, mods ) );
>>>                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:231:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.List)
>>>             return ( NamingEnumeration ) JndiProvider.this.invoke(  
>>> new
>>> List( base ) );
>>>                                                      ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:235:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.Search)
>>>             return ( NamingEnumeration ) JndiProvider.this.invoke(  
>>> new
>>> Search( base, env, filter, searchCtls ) );
>>>                                                      ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:239:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.Lookup)
>>>             return ( Attributes ) JndiProvider.this.invoke( new  
>>> Lookup(
>>> name ) );
>>>                                               ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:243:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.LookupWithAttrIds)
>>>             return ( Attributes ) JndiProvider.this.invoke( new
>>> LookupWithAttrIds( dn, attrIds ) );
>>>                                               ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:247:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.HasEntry)
>>>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>>> HasEntry(name ) ) );
>>>                                                     ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:251:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.IsSuffix)
>>>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>>> IsSuffix(name ) ) );
>>>                                                     ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:255:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.ModifyRN)
>>>             JndiProvider.this.invoke( new ModifyRN( name, newRn,
>>> deleteOldRn ) );
>>>                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:259:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.Move)
>>>             JndiProvider.this.invoke( new Move( oriChildName,
>>> newParentName ) );
>>>                         ^
>>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>>> server/jndi/JndiProvider.java:263:
>>> invoke(org.apache.ldap.server.jndi.Invocation) in
>>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>> (org.apache.ldap.server.invocation.MoveAndModifyRN)
>>>             JndiProvider.this.invoke( new MoveAndModifyRN(  
>>> oriChildName,
>>> newParentName, newRn, deleteOldRn ) );
>>>                         ^
>>> 17 errors
>>>
>>> BUILD FAILED
>>> File......  
>>> /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>>> Element... maven:reactor
>>> Line...... 217
>>> Column.... 9
>>> Unable to obtain goal [multiproject:install-callback] --
>>> /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:  
>>> <ant:javac>
>>> Compile failed; see the compiler error output for details.
>>> Total time: 56 seconds
>>>
>>> Trustin you think any of this is related to the changes made within  
>>> the
>>> interceptor framework?
>>>
>>> Alex
>>>
>>>
>>
>>
>
>


Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Tony Blanchard <bl...@wanadoo.fr>.
Hi there,

I have the same messages for this compilation with a two days old checkout.

After that, I have a question regarding the project organization that I 
just begin to work with. I tried to generate the doc of the different 
ApacheDS projects and it seems that the documents are not generated at 
the same place and then, there is a lot of documentation links which are 
broken. Is there something to do to make this work ? Should I change the 
Documentation/projects/index.xml file ?

I saw you launched the multiproject:install in the apacheds/trunk  
directory but I am working on Netbeans and there are integrated menus to 
launch the maven commands.(It is more helpfull than the command line 
because it links you to some compilation errors)
My question here is wich project should I run the command on to build 
the entire ApacheDS ?

Thanks for answers,
Tony Blanchard

Emmanuel Lecharny a écrit :

>Hi guys,
>
>here is what I get when trying to compile the whole stuff from
>apacheds/trunk launching maven multiproject:install :
>
>
>... (many lines) ...
>
>build:end:
>
>build:start:
>
>multiproject:install-callback:
>    [echo] Running jar:install for ApacheDS Core
>java:prepare-filesystem:
>    [mkdir] Created
>dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>Attempting to download ldap-common-0.9-SNAPSHOT.jar.
>Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
>
>java:compile:
>directory:schema:
>directory:init:
>
>directory:prepare-filesystem:
>    [mkdir] Created
>dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema
>
>directory:generate:
>    [echo] Generated schema producer classes for apachedns.schema
>    [echo] Generated schema producer classes for autofs.schema
>    [echo] Generated schema producer classes for core.schema
>    [echo] Generated schema producer classes for cosine.schema
>    [echo] Generated schema producer classes for corba.schema
>    [echo] Generated schema producer classes for apache.schema
>    [echo] Generated schema producer classes for inetorgperson.schema
>    [echo] Generated schema producer classes for java.schema
>    [echo] Generated schema producer classes for krb5kdc.schema
>    [echo] Generated schema producer classes for nis.schema
>    [echo] Generated schema producer classes for system.schema
>    [echo] Generated schema producer classes for dhcp.schema
>    [echo] Generated schema producer classes for samba.schema
>    [touch]
>Creating /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema/.flagfile
>
>
>    [echo] Compiling
>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>    [javac] Compiling 374 source files
>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>warning couldn't find aspectjrt.jar on classpath, checked:
>
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:191 error The type AbstractStringBuilder is not visible
>buf.append( "(" ).append( id ).append( ") " );
>^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:202 error The type AbstractStringBuilder is not visible
>buf.append( " [" ).append( children.size() ).append( "]" );
>^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67 error The type AbstractStringBuilder is not visible
>buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80 error The type AbstractStringBuilder is not visible
>buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append
>( authenticatorName );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:72 error The type AbstractStringBuilder is not visible
>buf.append( EnvKeys.SUFFIX ).append( id );
>^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:89 error The type AbstractStringBuilder is not visible
>buf.append( EnvKeys.PARTITION_CLASS ).append( id );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:104 error The type AbstractStringBuilder is not visible
>buf.append( EnvKeys.PARTITION_PROPERTIES ).append( id );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:119 error The type AbstractStringBuilder is not visible
>buf.append( EnvKeys.INDICES ).append( id );
>^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:140 error The type AbstractStringBuilder is not visible
>buf.append( EnvKeys.ATTRIBUTES ).append( id );
>^^^^^^^^^^^^^^^^^^^^^^^
>aspectj:init:
>
>aspectj:compile:
>    [iajc] Copying 7 files
>to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
>MessageHolder:  (1 warning)  (9 error)
>[error   0]: error at buf.append( "(" ).append( id ).append( ") " );
>^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:191:0 The type AbstractStringBuilder is not visible[error   1]: error at buf.append( " [" ).append( children.size() ).append( "]" );
>^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:202:0 The type AbstractStringBuilder is not visible[error   2]: error at buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67:0 The type AbstractStringBuilder is not visible
>[error   3]: error at buf.append
>( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80:0 The type AbstractStringBuilder is not visible
>[error   4]: error at buf.append( EnvKeys.SUFFIX ).append( id );
>^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:72:0 The type AbstractStringBuilder is not visible
>[error   5]: error at buf.append( EnvKeys.PARTITION_CLASS ).append
>( id );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:89:0 The type AbstractStringBuilder is not visible
>[error   6]: error at buf.append( EnvKeys.PARTITION_PROPERTIES ).append
>( id );
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:104:0 The type AbstractStringBuilder is not visible
>[error   7]: error at buf.append( EnvKeys.INDICES ).append( id );
>^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:119:0 The type AbstractStringBuilder is not visible
>[error   8]: error at buf.append( EnvKeys.ATTRIBUTES ).append( id );
>^^^^^^^^^^^^^^^^^^^^^^^
>/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:140:0 The type AbstractStringBuilder is not visible
>
>BUILD FAILED
>File...... /home/elecharny/.maven/cache/maven-multiproject-
>plugin-1.3.1/plugin.jelly
>Element... maven:reactor
>Line...... 217
>Column.... 9
>Unable to obtain goal [multiproject:install-callback]
>-- /home/elecharny/.maven/cache/maven-aspectj-
>plugin-3.2/plugin.jelly:59:40: <ant:iajc> 9 errors
>Total time: 1 minutes 14 seconds
>Finished at: Thu Apr 21 09:24:42 CEST 2005
>
>
>On Thu, 2005-04-21 at 11:26 +0900, Trustin Lee wrote:
>  
>
>>Hi,
>>
>>I tried to build apacheds-core from scratch, and it compiles without
>>any errors and all test pass.  Strange...
>>
>>Trustin
>>
>>2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
>>    
>>
>>>Ok Chris I just updated my entire directory trunk and found that the
>>>buid is broken so tests would fail too.   Here's what I get ..
>>>
>>>[root@kerberos trunk]# java -version
>>>java version "1.4.2_07"
>>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
>>>Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
>>>[root@kerberos trunk]# maven multiproject:install
>>>
>>>...
>>>
>>>build:start:
>>>
>>>............................................
>>>
>>>In the core build I get the following ...
>>>
>>>    [echo] Compiling to /root/directory/apacheds/trunk/core/target/classes
>>>    [javac] Compiling 340 source files to
>>>/root/directory/apacheds/trunk/core/target/classes
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:171:
>>>process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache.ldap.server.invocation.Invocation)
>>>in org.apache.ldap.server.interceptor.Interceptor cannot be applied to
>>>(<nulltype>,org.apache.ldap.server.jndi.Invocation)
>>>        interceptor.process( null, call );
>>>                   ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:195:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.GetMatchedDN)
>>>            return ( Name ) JndiProvider.this.invoke( new GetMatchedDN(
>>>dn, normalized ) );
>>>                                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:199:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.GetSuffix)
>>>            return ( Name ) JndiProvider.this.invoke( new GetSuffix( dn,
>>>normalized ) );
>>>                                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:203:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.ListSuffixes)
>>>            return ( Iterator ) JndiProvider.this.invoke( new
>>>ListSuffixes( normalized ) );
>>>                                            ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:215:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.Delete)
>>>            JndiProvider.this.invoke( new Delete( name ) );
>>>                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:219:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.Add)
>>>            JndiProvider.this.invoke( new Add( upName, normName, entry ) );
>>>                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:223:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.Modify)
>>>            JndiProvider.this.invoke( new Modify( name, modOp, mods ) );
>>>                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:227:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.ModifyMany)
>>>            JndiProvider.this.invoke( new ModifyMany( name, mods ) );
>>>                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:231:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.List)
>>>            return ( NamingEnumeration ) JndiProvider.this.invoke( new
>>>List( base ) );
>>>                                                     ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:235:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.Search)
>>>            return ( NamingEnumeration ) JndiProvider.this.invoke( new
>>>Search( base, env, filter, searchCtls ) );
>>>                                                     ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:239:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.Lookup)
>>>            return ( Attributes ) JndiProvider.this.invoke( new Lookup(
>>>name ) );
>>>                                              ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:243:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.LookupWithAttrIds)
>>>            return ( Attributes ) JndiProvider.this.invoke( new
>>>LookupWithAttrIds( dn, attrIds ) );
>>>                                              ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:247:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.HasEntry)
>>>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>>>HasEntry(name ) ) );
>>>                                                    ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:251:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.IsSuffix)
>>>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>>>IsSuffix(name ) ) );
>>>                                                    ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:255:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.ModifyRN)
>>>            JndiProvider.this.invoke( new ModifyRN( name, newRn,
>>>deleteOldRn ) );
>>>                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:259:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.Move)
>>>            JndiProvider.this.invoke( new Move( oriChildName,
>>>newParentName ) );
>>>                        ^
>>>/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:263:
>>>invoke(org.apache.ldap.server.jndi.Invocation) in
>>>org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>>>(org.apache.ldap.server.invocation.MoveAndModifyRN)
>>>            JndiProvider.this.invoke( new MoveAndModifyRN( oriChildName,
>>>newParentName, newRn, deleteOldRn ) );
>>>                        ^
>>>17 errors
>>>
>>>BUILD FAILED
>>>File...... /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>>>Element... maven:reactor
>>>Line...... 217
>>>Column.... 9
>>>Unable to obtain goal [multiproject:install-callback] --
>>>/root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac>
>>>Compile failed; see the compiler error output for details.
>>>Total time: 56 seconds
>>>
>>>Trustin you think any of this is related to the changes made within the
>>>interceptor framework?
>>>
>>>Alex
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>
>
>
>  
>



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Emmanuel Lecharny <el...@apache.org>.
Hi guys,

here is what I get when trying to compile the whole stuff from
apacheds/trunk launching maven multiproject:install :


... (many lines) ...

build:end:

build:start:

multiproject:install-callback:
    [echo] Running jar:install for ApacheDS Core
java:prepare-filesystem:
    [mkdir] Created
dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.

java:compile:
directory:schema:
directory:init:

directory:prepare-filesystem:
    [mkdir] Created
dir: /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema

directory:generate:
    [echo] Generated schema producer classes for apachedns.schema
    [echo] Generated schema producer classes for autofs.schema
    [echo] Generated schema producer classes for core.schema
    [echo] Generated schema producer classes for cosine.schema
    [echo] Generated schema producer classes for corba.schema
    [echo] Generated schema producer classes for apache.schema
    [echo] Generated schema producer classes for inetorgperson.schema
    [echo] Generated schema producer classes for java.schema
    [echo] Generated schema producer classes for krb5kdc.schema
    [echo] Generated schema producer classes for nis.schema
    [echo] Generated schema producer classes for system.schema
    [echo] Generated schema producer classes for dhcp.schema
    [echo] Generated schema producer classes for samba.schema
    [touch]
Creating /home/elecharny/ttt/directory/apacheds/trunk/core/target/schema/.flagfile


    [echo] Compiling
to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
    [javac] Compiling 374 source files
to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
warning couldn't find aspectjrt.jar on classpath, checked:

/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:191 error The type AbstractStringBuilder is not visible
buf.append( "(" ).append( id ).append( ") " );
^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:202 error The type AbstractStringBuilder is not visible
buf.append( " [" ).append( children.size() ).append( "]" );
^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67 error The type AbstractStringBuilder is not visible
buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80 error The type AbstractStringBuilder is not visible
buf.append( EnvKeys.AUTHENTICATOR_PROPERTIES ).append
( authenticatorName );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:72 error The type AbstractStringBuilder is not visible
buf.append( EnvKeys.SUFFIX ).append( id );
^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:89 error The type AbstractStringBuilder is not visible
buf.append( EnvKeys.PARTITION_CLASS ).append( id );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:104 error The type AbstractStringBuilder is not visible
buf.append( EnvKeys.PARTITION_PROPERTIES ).append( id );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:119 error The type AbstractStringBuilder is not visible
buf.append( EnvKeys.INDICES ).append( id );
^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:140 error The type AbstractStringBuilder is not visible
buf.append( EnvKeys.ATTRIBUTES ).append( id );
^^^^^^^^^^^^^^^^^^^^^^^
aspectj:init:

aspectj:compile:
    [iajc] Copying 7 files
to /home/elecharny/ttt/directory/apacheds/trunk/core/target/classes
MessageHolder:  (1 warning)  (9 error)
[error   0]: error at buf.append( "(" ).append( id ).append( ") " );
^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:191:0 The type AbstractStringBuilder is not visible[error   1]: error at buf.append( " [" ).append( children.size() ).append( "]" );
^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/gui/EntryNode.java:202:0 The type AbstractStringBuilder is not visible[error   2]: error at buf.append( EnvKeys.AUTHENTICATOR_CLASS ).append( authenticatorName );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:67:0 The type AbstractStringBuilder is not visible
[error   3]: error at buf.append
( EnvKeys.AUTHENTICATOR_PROPERTIES ).append( authenticatorName );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/authn/AuthenticatorConfigBuilder.java:80:0 The type AbstractStringBuilder is not visible
[error   4]: error at buf.append( EnvKeys.SUFFIX ).append( id );
^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:72:0 The type AbstractStringBuilder is not visible
[error   5]: error at buf.append( EnvKeys.PARTITION_CLASS ).append
( id );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:89:0 The type AbstractStringBuilder is not visible
[error   6]: error at buf.append( EnvKeys.PARTITION_PROPERTIES ).append
( id );
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:104:0 The type AbstractStringBuilder is not visible
[error   7]: error at buf.append( EnvKeys.INDICES ).append( id );
^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:119:0 The type AbstractStringBuilder is not visible
[error   8]: error at buf.append( EnvKeys.ATTRIBUTES ).append( id );
^^^^^^^^^^^^^^^^^^^^^^^
/home/elecharny/ttt/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/PartitionConfigBuilder.java:140:0 The type AbstractStringBuilder is not visible

BUILD FAILED
File...... /home/elecharny/.maven/cache/maven-multiproject-
plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback]
-- /home/elecharny/.maven/cache/maven-aspectj-
plugin-3.2/plugin.jelly:59:40: <ant:iajc> 9 errors
Total time: 1 minutes 14 seconds
Finished at: Thu Apr 21 09:24:42 CEST 2005


On Thu, 2005-04-21 at 11:26 +0900, Trustin Lee wrote:
> Hi,
> 
> I tried to build apacheds-core from scratch, and it compiles without
> any errors and all test pass.  Strange...
> 
> Trustin
> 
> 2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
> > Ok Chris I just updated my entire directory trunk and found that the
> > buid is broken so tests would fail too.   Here's what I get ..
> > 
> > [root@kerberos trunk]# java -version
> > java version "1.4.2_07"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
> > Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
> > [root@kerberos trunk]# maven multiproject:install
> > 
> > ...
> > 
> > build:start:
> > 
> > ............................................
> > 
> > In the core build I get the following ...
> > 
> >     [echo] Compiling to /root/directory/apacheds/trunk/core/target/classes
> >     [javac] Compiling 340 source files to
> > /root/directory/apacheds/trunk/core/target/classes
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:171:
> > process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache.ldap.server.invocation.Invocation)
> > in org.apache.ldap.server.interceptor.Interceptor cannot be applied to
> > (<nulltype>,org.apache.ldap.server.jndi.Invocation)
> >         interceptor.process( null, call );
> >                    ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:195:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.GetMatchedDN)
> >             return ( Name ) JndiProvider.this.invoke( new GetMatchedDN(
> > dn, normalized ) );
> >                                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:199:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.GetSuffix)
> >             return ( Name ) JndiProvider.this.invoke( new GetSuffix( dn,
> > normalized ) );
> >                                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:203:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.ListSuffixes)
> >             return ( Iterator ) JndiProvider.this.invoke( new
> > ListSuffixes( normalized ) );
> >                                             ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:215:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.Delete)
> >             JndiProvider.this.invoke( new Delete( name ) );
> >                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:219:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.Add)
> >             JndiProvider.this.invoke( new Add( upName, normName, entry ) );
> >                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:223:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.Modify)
> >             JndiProvider.this.invoke( new Modify( name, modOp, mods ) );
> >                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:227:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.ModifyMany)
> >             JndiProvider.this.invoke( new ModifyMany( name, mods ) );
> >                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:231:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.List)
> >             return ( NamingEnumeration ) JndiProvider.this.invoke( new
> > List( base ) );
> >                                                      ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:235:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.Search)
> >             return ( NamingEnumeration ) JndiProvider.this.invoke( new
> > Search( base, env, filter, searchCtls ) );
> >                                                      ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:239:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.Lookup)
> >             return ( Attributes ) JndiProvider.this.invoke( new Lookup(
> > name ) );
> >                                               ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:243:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.LookupWithAttrIds)
> >             return ( Attributes ) JndiProvider.this.invoke( new
> > LookupWithAttrIds( dn, attrIds ) );
> >                                               ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:247:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.HasEntry)
> >             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> > HasEntry(name ) ) );
> >                                                     ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:251:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.IsSuffix)
> >             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> > IsSuffix(name ) ) );
> >                                                     ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:255:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.ModifyRN)
> >             JndiProvider.this.invoke( new ModifyRN( name, newRn,
> > deleteOldRn ) );
> >                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:259:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.Move)
> >             JndiProvider.this.invoke( new Move( oriChildName,
> > newParentName ) );
> >                         ^
> > /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:263:
> > invoke(org.apache.ldap.server.jndi.Invocation) in
> > org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> > (org.apache.ldap.server.invocation.MoveAndModifyRN)
> >             JndiProvider.this.invoke( new MoveAndModifyRN( oriChildName,
> > newParentName, newRn, deleteOldRn ) );
> >                         ^
> > 17 errors
> > 
> > BUILD FAILED
> > File...... /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> > Element... maven:reactor
> > Line...... 217
> > Column.... 9
> > Unable to obtain goal [multiproject:install-callback] --
> > /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac>
> > Compile failed; see the compiler error output for details.
> > Total time: 56 seconds
> > 
> > Trustin you think any of this is related to the changes made within the
> > interceptor framework?
> > 
> > Alex
> > 
> > 
> 
> 



Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Chris Betts <ch...@pegacat.com>.
Excellent!

Can you walk me through the exact steps :-)?

Wot I did:

Check out using svn (get sub directories apacheds | asn1 |  
authx|clients | naming | network | protocol-providers | sandbox |  
shared | sitedocs | trunks)

  cd into svn_head/apacheds/trunk

  type 'maven multiproject:install'

  - does anything look suspicious with that?

  I've since been wondering all over the svn tree typing 'maven  
multiproject' at random - but this wouldn't affect anything would it?

   cheers,

     - Chris

P.S. If you have a working image, is it possible for me to just steal  
the core jar file, and insert it into my image?  Alternatively, is it  
worth having a 'last good build' section in subversion?


On 21/04/2005, at 12:26 PM, Trustin Lee wrote:

> Hi,
>
> I tried to build apacheds-core from scratch, and it compiles without
> any errors and all test pass.  Strange...
>
> Trustin
>
> 2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
>> Ok Chris I just updated my entire directory trunk and found that the
>> buid is broken so tests would fail too.   Here's what I get ..
>>
>> [root@kerberos trunk]# java -version
>> java version "1.4.2_07"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
>> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
>> [root@kerberos trunk]# maven multiproject:install
>>
>> ...
>>
>> build:start:
>>
>> ............................................
>>
>> In the core build I get the following ...
>>
>>     [echo] Compiling to  
>> /root/directory/apacheds/trunk/core/target/classes
>>     [javac] Compiling 340 source files to
>> /root/directory/apacheds/trunk/core/target/classes
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:171:
>> process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache. 
>> ldap.server.invocation.Invocation)
>> in org.apache.ldap.server.interceptor.Interceptor cannot be applied to
>> (<nulltype>,org.apache.ldap.server.jndi.Invocation)
>>         interceptor.process( null, call );
>>                    ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:195:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.GetMatchedDN)
>>             return ( Name ) JndiProvider.this.invoke( new  
>> GetMatchedDN(
>> dn, normalized ) );
>>                                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:199:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.GetSuffix)
>>             return ( Name ) JndiProvider.this.invoke( new GetSuffix(  
>> dn,
>> normalized ) );
>>                                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:203:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.ListSuffixes)
>>             return ( Iterator ) JndiProvider.this.invoke( new
>> ListSuffixes( normalized ) );
>>                                             ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:215:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.Delete)
>>             JndiProvider.this.invoke( new Delete( name ) );
>>                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:219:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.Add)
>>             JndiProvider.this.invoke( new Add( upName, normName,  
>> entry ) );
>>                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:223:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.Modify)
>>             JndiProvider.this.invoke( new Modify( name, modOp, mods )  
>> );
>>                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:227:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.ModifyMany)
>>             JndiProvider.this.invoke( new ModifyMany( name, mods ) );
>>                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:231:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.List)
>>             return ( NamingEnumeration ) JndiProvider.this.invoke( new
>> List( base ) );
>>                                                      ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:235:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.Search)
>>             return ( NamingEnumeration ) JndiProvider.this.invoke( new
>> Search( base, env, filter, searchCtls ) );
>>                                                      ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:239:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.Lookup)
>>             return ( Attributes ) JndiProvider.this.invoke( new  
>> Lookup(
>> name ) );
>>                                               ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:243:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.LookupWithAttrIds)
>>             return ( Attributes ) JndiProvider.this.invoke( new
>> LookupWithAttrIds( dn, attrIds ) );
>>                                               ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:247:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.HasEntry)
>>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>> HasEntry(name ) ) );
>>                                                     ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:251:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.IsSuffix)
>>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
>> IsSuffix(name ) ) );
>>                                                     ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:255:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.ModifyRN)
>>             JndiProvider.this.invoke( new ModifyRN( name, newRn,
>> deleteOldRn ) );
>>                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:259:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.Move)
>>             JndiProvider.this.invoke( new Move( oriChildName,
>> newParentName ) );
>>                         ^
>> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
>> server/jndi/JndiProvider.java:263:
>> invoke(org.apache.ldap.server.jndi.Invocation) in
>> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
>> (org.apache.ldap.server.invocation.MoveAndModifyRN)
>>             JndiProvider.this.invoke( new MoveAndModifyRN(  
>> oriChildName,
>> newParentName, newRn, deleteOldRn ) );
>>                         ^
>> 17 errors
>>
>> BUILD FAILED
>> File......  
>> /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>> Element... maven:reactor
>> Line...... 217
>> Column.... 9
>> Unable to obtain goal [multiproject:install-callback] --
>> /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:  
>> <ant:javac>
>> Compile failed; see the compiler error output for details.
>> Total time: 56 seconds
>>
>> Trustin you think any of this is related to the changes made within  
>> the
>> interceptor framework?
>>
>> Alex
>>
>>
>
>
> -- 
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
>


Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Trustin Lee <tr...@gmail.com>.
Hi,

I tried to build apacheds-core from scratch, and it compiles without
any errors and all test pass.  Strange...

Trustin

2005/4/21, Alex Karasulu <ao...@bellsouth.net>:
> Ok Chris I just updated my entire directory trunk and found that the
> buid is broken so tests would fail too.   Here's what I get ..
> 
> [root@kerberos trunk]# java -version
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
> [root@kerberos trunk]# maven multiproject:install
> 
> ...
> 
> build:start:
> 
> ............................................
> 
> In the core build I get the following ...
> 
>     [echo] Compiling to /root/directory/apacheds/trunk/core/target/classes
>     [javac] Compiling 340 source files to
> /root/directory/apacheds/trunk/core/target/classes
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:171:
> process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache.ldap.server.invocation.Invocation)
> in org.apache.ldap.server.interceptor.Interceptor cannot be applied to
> (<nulltype>,org.apache.ldap.server.jndi.Invocation)
>         interceptor.process( null, call );
>                    ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:195:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.GetMatchedDN)
>             return ( Name ) JndiProvider.this.invoke( new GetMatchedDN(
> dn, normalized ) );
>                                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:199:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.GetSuffix)
>             return ( Name ) JndiProvider.this.invoke( new GetSuffix( dn,
> normalized ) );
>                                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:203:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.ListSuffixes)
>             return ( Iterator ) JndiProvider.this.invoke( new
> ListSuffixes( normalized ) );
>                                             ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:215:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.Delete)
>             JndiProvider.this.invoke( new Delete( name ) );
>                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:219:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.Add)
>             JndiProvider.this.invoke( new Add( upName, normName, entry ) );
>                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:223:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.Modify)
>             JndiProvider.this.invoke( new Modify( name, modOp, mods ) );
>                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:227:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.ModifyMany)
>             JndiProvider.this.invoke( new ModifyMany( name, mods ) );
>                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:231:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.List)
>             return ( NamingEnumeration ) JndiProvider.this.invoke( new
> List( base ) );
>                                                      ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:235:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.Search)
>             return ( NamingEnumeration ) JndiProvider.this.invoke( new
> Search( base, env, filter, searchCtls ) );
>                                                      ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:239:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.Lookup)
>             return ( Attributes ) JndiProvider.this.invoke( new Lookup(
> name ) );
>                                               ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:243:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.LookupWithAttrIds)
>             return ( Attributes ) JndiProvider.this.invoke( new
> LookupWithAttrIds( dn, attrIds ) );
>                                               ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:247:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.HasEntry)
>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> HasEntry(name ) ) );
>                                                     ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:251:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.IsSuffix)
>             return Boolean.TRUE.equals( JndiProvider.this.invoke( new
> IsSuffix(name ) ) );
>                                                     ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:255:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.ModifyRN)
>             JndiProvider.this.invoke( new ModifyRN( name, newRn,
> deleteOldRn ) );
>                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:259:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.Move)
>             JndiProvider.this.invoke( new Move( oriChildName,
> newParentName ) );
>                         ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:263:
> invoke(org.apache.ldap.server.jndi.Invocation) in
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to
> (org.apache.ldap.server.invocation.MoveAndModifyRN)
>             JndiProvider.this.invoke( new MoveAndModifyRN( oriChildName,
> newParentName, newRn, deleteOldRn ) );
>                         ^
> 17 errors
> 
> BUILD FAILED
> File...... /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] --
> /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac>
> Compile failed; see the compiler error output for details.
> Total time: 56 seconds
> 
> Trustin you think any of this is related to the changes made within the
> interceptor framework?
> 
> Alex
> 
> 


-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Chris Betts <ch...@pegacat.com>.
Hi Alex,

    thanks a lot for checking this out!

    What's the best way for me to proceed?  What I want to do is write  
some back end 'partitions' to Apache DS so that I can use my JXplorer  
client at the front end, and Apache DS as a 'virtual directory'  
channelling ldap queries to those back ends.

    So I'm keen to get a basic system up and running so that I can start  
work on these back ends, but it doesn't have to be perfect :-).  If  
building the trunk isn't what everyone else is doing, is there a better  
way?

    - Chris


On 21/04/2005, at 6:36 AM, Alex Karasulu wrote:

> Ok Chris I just updated my entire directory trunk and found that the  
> buid is broken so tests would fail too.   Here's what I get ..
>
> [root@kerberos trunk]# java -version
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
> [root@kerberos trunk]# maven multiproject:install
>
> ...
>
> build:start:
>
> ............................................
>
> In the core build I get the following ...
>
>    [echo] Compiling to  
> /root/directory/apacheds/trunk/core/target/classes
>    [javac] Compiling 340 source files to  
> /root/directory/apacheds/trunk/core/target/classes
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:171:  
> process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache.l 
> dap.server.invocation.Invocation) in  
> org.apache.ldap.server.interceptor.Interceptor cannot be applied to  
> (<nulltype>,org.apache.ldap.server.jndi.Invocation)
>        interceptor.process( null, call );
>                   ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:195:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.GetMatchedDN)
>            return ( Name ) JndiProvider.this.invoke( new GetMatchedDN(  
> dn, normalized ) );
>                                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:199:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.GetSuffix)
>            return ( Name ) JndiProvider.this.invoke( new GetSuffix(  
> dn, normalized ) );
>                                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:203:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.ListSuffixes)
>            return ( Iterator ) JndiProvider.this.invoke( new  
> ListSuffixes( normalized ) );
>                                            ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:215:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Delete)
>            JndiProvider.this.invoke( new Delete( name ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:219:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Add)
>            JndiProvider.this.invoke( new Add( upName, normName, entry  
> ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:223:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Modify)
>            JndiProvider.this.invoke( new Modify( name, modOp, mods ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:227:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.ModifyMany)
>            JndiProvider.this.invoke( new ModifyMany( name, mods ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:231:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.List)
>            return ( NamingEnumeration ) JndiProvider.this.invoke( new  
> List( base ) );
>                                                     ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:235:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Search)
>            return ( NamingEnumeration ) JndiProvider.this.invoke( new  
> Search( base, env, filter, searchCtls ) );
>                                                     ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:239:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Lookup)
>            return ( Attributes ) JndiProvider.this.invoke( new Lookup(  
> name ) );
>                                              ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:243:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.LookupWithAttrIds)
>            return ( Attributes ) JndiProvider.this.invoke( new  
> LookupWithAttrIds( dn, attrIds ) );
>                                              ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:247:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.HasEntry)
>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new  
> HasEntry(name ) ) );
>                                                    ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:251:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.IsSuffix)
>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new  
> IsSuffix(name ) ) );
>                                                    ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:255:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.ModifyRN)
>            JndiProvider.this.invoke( new ModifyRN( name, newRn,  
> deleteOldRn ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:259:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Move)
>            JndiProvider.this.invoke( new Move( oriChildName,  
> newParentName ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:263:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.MoveAndModifyRN)
>            JndiProvider.this.invoke( new MoveAndModifyRN(  
> oriChildName, newParentName, newRn, deleteOldRn ) );
>                        ^
> 17 errors
>
> BUILD FAILED
> File......  
> /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] --  
> /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:  
> <ant:javac> Compile failed; see the compiler error output for details.
> Total time: 56 seconds
>
> Trustin you think any of this is related to the changes made within  
> the interceptor framework?
>
> Alex
>
>


Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Chris Betts <ch...@pegacat.com>.
Just to confirm; my build doesn't show me the javac errors below (??)  
but produces the same end message: Build Failed, Line 217 / Column 9...  
so I think I'm seeing the same problem.

   - Chris

P.S. I tried building the asn1 and other branches first, and while they  
built fine, as Alex predicted it didn't help the apacheds build :-).

On 21/04/2005, at 6:36 AM, Alex Karasulu wrote:

> Ok Chris I just updated my entire directory trunk and found that the  
> buid is broken so tests would fail too.   Here's what I get ..
>
> [root@kerberos trunk]# java -version
> java version "1.4.2_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
> [root@kerberos trunk]# maven multiproject:install
>
> ...
>
> build:start:
>
> ............................................
>
> In the core build I get the following ...
>
>    [echo] Compiling to  
> /root/directory/apacheds/trunk/core/target/classes
>    [javac] Compiling 340 source files to  
> /root/directory/apacheds/trunk/core/target/classes
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:171:  
> process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache.l 
> dap.server.invocation.Invocation) in  
> org.apache.ldap.server.interceptor.Interceptor cannot be applied to  
> (<nulltype>,org.apache.ldap.server.jndi.Invocation)
>        interceptor.process( null, call );
>                   ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:195:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.GetMatchedDN)
>            return ( Name ) JndiProvider.this.invoke( new GetMatchedDN(  
> dn, normalized ) );
>                                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:199:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.GetSuffix)
>            return ( Name ) JndiProvider.this.invoke( new GetSuffix(  
> dn, normalized ) );
>                                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:203:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.ListSuffixes)
>            return ( Iterator ) JndiProvider.this.invoke( new  
> ListSuffixes( normalized ) );
>                                            ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:215:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Delete)
>            JndiProvider.this.invoke( new Delete( name ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:219:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Add)
>            JndiProvider.this.invoke( new Add( upName, normName, entry  
> ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:223:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Modify)
>            JndiProvider.this.invoke( new Modify( name, modOp, mods ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:227:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.ModifyMany)
>            JndiProvider.this.invoke( new ModifyMany( name, mods ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:231:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.List)
>            return ( NamingEnumeration ) JndiProvider.this.invoke( new  
> List( base ) );
>                                                     ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:235:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Search)
>            return ( NamingEnumeration ) JndiProvider.this.invoke( new  
> Search( base, env, filter, searchCtls ) );
>                                                     ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:239:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Lookup)
>            return ( Attributes ) JndiProvider.this.invoke( new Lookup(  
> name ) );
>                                              ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:243:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.LookupWithAttrIds)
>            return ( Attributes ) JndiProvider.this.invoke( new  
> LookupWithAttrIds( dn, attrIds ) );
>                                              ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:247:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.HasEntry)
>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new  
> HasEntry(name ) ) );
>                                                    ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:251:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.IsSuffix)
>            return Boolean.TRUE.equals( JndiProvider.this.invoke( new  
> IsSuffix(name ) ) );
>                                                    ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:255:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.ModifyRN)
>            JndiProvider.this.invoke( new ModifyRN( name, newRn,  
> deleteOldRn ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:259:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.Move)
>            JndiProvider.this.invoke( new Move( oriChildName,  
> newParentName ) );
>                        ^
> /root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/ 
> server/jndi/JndiProvider.java:263:  
> invoke(org.apache.ldap.server.jndi.Invocation) in  
> org.apache.ldap.server.jndi.JndiProvider cannot be applied to  
> (org.apache.ldap.server.invocation.MoveAndModifyRN)
>            JndiProvider.this.invoke( new MoveAndModifyRN(  
> oriChildName, newParentName, newRn, deleteOldRn ) );
>                        ^
> 17 errors
>
> BUILD FAILED
> File......  
> /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] --  
> /root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48:  
> <ant:javac> Compile failed; see the compiler error output for details.
> Total time: 56 seconds
>
> Trustin you think any of this is related to the changes made within  
> the interceptor framework?
>
> Alex
>
>


Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))

Posted by Alex Karasulu <ao...@bellsouth.net>.
Ok Chris I just updated my entire directory trunk and found that the 
buid is broken so tests would fail too.   Here's what I get ..

[root@kerberos trunk]# java -version
java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
[root@kerberos trunk]# maven multiproject:install

...

build:start:

............................................

In the core build I get the following ...

    [echo] Compiling to /root/directory/apacheds/trunk/core/target/classes
    [javac] Compiling 340 source files to 
/root/directory/apacheds/trunk/core/target/classes
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:171: 
process(org.apache.ldap.server.interceptor.NextInterceptor,org.apache.ldap.server.invocation.Invocation) 
in org.apache.ldap.server.interceptor.Interceptor cannot be applied to 
(<nulltype>,org.apache.ldap.server.jndi.Invocation)
        interceptor.process( null, call );
                   ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:195: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.GetMatchedDN)
            return ( Name ) JndiProvider.this.invoke( new GetMatchedDN( 
dn, normalized ) );
                                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:199: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.GetSuffix)
            return ( Name ) JndiProvider.this.invoke( new GetSuffix( dn, 
normalized ) );
                                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:203: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.ListSuffixes)
            return ( Iterator ) JndiProvider.this.invoke( new 
ListSuffixes( normalized ) );
                                            ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:215: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.Delete)
            JndiProvider.this.invoke( new Delete( name ) );
                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:219: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.Add)
            JndiProvider.this.invoke( new Add( upName, normName, entry ) );
                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:223: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.Modify)
            JndiProvider.this.invoke( new Modify( name, modOp, mods ) );
                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:227: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.ModifyMany)
            JndiProvider.this.invoke( new ModifyMany( name, mods ) );
                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:231: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.List)
            return ( NamingEnumeration ) JndiProvider.this.invoke( new 
List( base ) );
                                                     ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:235: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.Search)
            return ( NamingEnumeration ) JndiProvider.this.invoke( new 
Search( base, env, filter, searchCtls ) );
                                                     ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:239: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.Lookup)
            return ( Attributes ) JndiProvider.this.invoke( new Lookup( 
name ) );
                                              ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:243: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.LookupWithAttrIds)
            return ( Attributes ) JndiProvider.this.invoke( new 
LookupWithAttrIds( dn, attrIds ) );
                                              ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:247: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.HasEntry)
            return Boolean.TRUE.equals( JndiProvider.this.invoke( new 
HasEntry(name ) ) );
                                                    ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:251: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.IsSuffix)
            return Boolean.TRUE.equals( JndiProvider.this.invoke( new 
IsSuffix(name ) ) );
                                                    ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:255: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.ModifyRN)
            JndiProvider.this.invoke( new ModifyRN( name, newRn, 
deleteOldRn ) );
                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:259: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.Move)
            JndiProvider.this.invoke( new Move( oriChildName, 
newParentName ) );
                        ^
/root/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/JndiProvider.java:263: 
invoke(org.apache.ldap.server.jndi.Invocation) in 
org.apache.ldap.server.jndi.JndiProvider cannot be applied to 
(org.apache.ldap.server.invocation.MoveAndModifyRN)
            JndiProvider.this.invoke( new MoveAndModifyRN( oriChildName, 
newParentName, newRn, deleteOldRn ) );
                        ^
17 errors

BUILD FAILED
File...... /root/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- 
/root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac> 
Compile failed; see the compiler error output for details.
Total time: 56 seconds

Trustin you think any of this is related to the changes made within the 
interceptor framework?

Alex



Getting There! (Was: Newbie qn de jour: how do I make the jar?)

Posted by Chris Betts <ch...@pegacat.com>.
O.k., so the missing step was that maven has to be run from the 
directory with the project.xml file in it.  (I thought it was like 
make, and would recursively make everything :-) ).  So I'm now working 
from the /apacheds/trunk directory (which is where I'm supposed to 
be?).

However it still isn't working - as far as I can make out it's missing 
a jar called "aspectjrt.jar" when attempting to compile the apacheDS 
core.

Can anyone offer any pointers?  I've done a fresh check out and 
everything seems up to date. I'm including the build output below.

   - Chris

-----8<---------------

D:\java\apacheDS\svn_head\apacheds\trunk>maven multiproject:install
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
build:start:
multiproject:install:
multiproject:projects-init:
   [echo] Gathering project list
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Gathering project list ApacheDS Shared
| Memory: 4M/4M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Plugin
| Memory: 4M/4M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Core
| Memory: 4M/4M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Main
| Memory: 4M/4M
+----------------------------------------
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Shared
| Memory: 4M/4M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
multiproject:goal:
build:start:
multiproject:install-callback:
   [echo] Running jar:install for ApacheDS Shared
java:prepare-filesystem:
java:compile:
   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\shared/target/c
lasses
   [echo]
==========================================================
NOTE: Targetting JVM 1.4, classes
will not run on earlier JVMs
==========================================================

java:jar-resources:
test:prepare-filesystem:
test:test-resources:
test:compile:
   [echo] No test source files to compile.
test:test:
   [echo] No tests to run.
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\shared\target\apacheds-s
hared-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
Settings\Chris\.maven\repository\d
irectory\jars\apacheds-shared-0.9-SNAPSHOT.jar'
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\shared\project.xml' to:
'C:\Documents and 
Settings\Chris\.maven\repository\directory\poms\apacheds-share
d-0.9-SNAPSHOT.pom'
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Plugin
| Memory: 5M/6M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
jar:jar:
jar:install:

build:end:
build:start:
multiproject:install-callback:
plugin:plugin:
java:prepare-filesystem:
java:compile:
antlr:prepare-filesystem:
antlr:generate:
   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\plugin/target/c
lasses
   [echo]
==========================================================
NOTE: Targetting JVM 1.4, classes
will not run on earlier JVMs
==========================================================

java:jar-resources:
test:prepare-filesystem:
test:test-resources:
test:compile:
test:test:
   [junit] Running 
org.apache.ldap.server.tools.schema.AttributeTypesTemplateTe
st
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.046 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.DirectorySchemaToolTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.672 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.ObjectClassesTemplateTes
t
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.016 sec
   [junit] Running 
org.apache.ldap.server.tools.schema.OpenLdapSchemaParserTest
   [junit] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 1.453 sec
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\target\maven-dire
ctory-plugin-0.9-SNAPSHOT.jar' to: 'C:\Documents and 
Settings\Chris\.maven\repos
itory\directory\plugins\maven-directory-plugin-0.9-SNAPSHOT.jar'
Copying: from 
'D:\java\apacheDS\svn_head\apacheds\trunk\plugin\project.xml' to:
'C:\Documents and 
Settings\Chris\.maven\repository\directory\poms\maven-director
y-plugin-0.9-SNAPSHOT.pom'
+----------------------------------------
| Executing multiproject:install-callback ApacheDS Core
| Memory: 13M/20M
+----------------------------------------
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
Attempting to download ldap-protocol-0.9-SNAPSHOT.jar.
Attempting to download asn1-codec-0.3-SNAPSHOT.jar.
Attempting to download apache-ldapber-provider-0.9-SNAPSHOT.jar.
Attempting to download asn1-ber-0.3-SNAPSHOT.jar.
Attempting to download mina-0.7-SNAPSHOT.jar.
Attempting to download maven-directory-plugin-0.9-SNAPSHOT.jar.
jar:jar:

plugin:repository-install:

build:end:
build:start:
multiproject:install-callback:
   [echo] Running jar:install for ApacheDS Core
Attempting to download ldap-common-0.9-SNAPSHOT.jar.
Attempting to download apacheds-shared-0.9-SNAPSHOT.jar.
java:prepare-filesystem:
java:compile:
directory:schema:
directory:init:
directory:prepare-filesystem:
directory:generate:

   [echo] Compiling to 
D:\java\apacheDS\svn_head\apacheds\trunk\core/target/cla
sses
warning couldn't find aspectjrt.jar on classpath, checked:
aspectj:init:
aspectj:compile:

java:jar-resources:
test:prepare-filesystem:
test:test-resources:
test:compile:
test:test:
   [junit] Running org.apache.ldap.server.authn.SimpleAuthenticationTest
   [junit] Tests run: 9, Failures: 0, Errors: 4, Time elapsed: 2.766 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.authn.SimpleAuthenticationTest F
AILED
   [junit] Running org.apache.ldap.server.authz.AuthorizationServiceTest
   [junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 0.062 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.authz.AuthorizationServiceTest F
AILED
   [junit] Running org.apache.ldap.server.exception.ExceptionServiceTest
   [junit] Tests run: 21, Failures: 0, Errors: 21, Time elapsed: 0.094 
sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.exception.ExceptionServiceTest F
AILED
   [junit] Running org.apache.ldap.server.interceptor.ConfigurationTest
   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.234 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.interceptor.ConfigurationTest FA
ILED
   [junit] Running org.apache.ldap.server.jndi.ComparatorNPEBugTest
   [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.391 sec
   [junit] Running org.apache.ldap.server.jndi.CreateContextTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.CreateContextTest 
FAILED
   [junit] Running org.apache.ldap.server.jndi.DestroyContextTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.DestroyContextTest 
FAILED
   [junit] Running org.apache.ldap.server.jndi.ImportConfirmationTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.jndi.ImportConfirmationTest FAIL
ED
   [junit] Running org.apache.ldap.server.jndi.ListTest
   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ListTest FAILED
   [junit] Running org.apache.ldap.server.jndi.ModifyContextTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ModifyContextTest 
FAILED
   [junit] Running org.apache.ldap.server.jndi.ObjStateFactoryTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ObjStateFactoryTest 
FAILED
   [junit] Running 
org.apache.ldap.server.jndi.PartitionContextBuilderTest
   [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.187 sec
   [junit] Running org.apache.ldap.server.jndi.RFC2713Tests
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.RFC2713Tests FAILED
   [junit] Running org.apache.ldap.server.jndi.RootDSETest
   [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 4.547 sec
   [junit] Running org.apache.ldap.server.jndi.SearchContextTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.SearchContextTest 
FAILED
   [junit] Running org.apache.ldap.server.jndi.ServerContextFactoryTest
   [junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.jndi.ServerContextFactoryTest FA
ILED
   [junit] Running 
org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.172 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.jndi.ServiceRegistryPassthruTest
FAILED
   [junit] Running org.apache.ldap.server.jndi.ShutdownTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.031 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.ShutdownTest FAILED
   [junit] Running org.apache.ldap.server.jndi.SyncTest
   [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.032 sec
   [junit] [ERROR] TEST org.apache.ldap.server.jndi.SyncTest FAILED
   [junit] Running 
org.apache.ldap.server.operational.BinaryAttributeFilterTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.operational.BinaryAttributeFilte
rTest FAILED
   [junit] Running 
org.apache.ldap.server.operational.OperationalAttributeServi
ceTest
   [junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.016 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.operational.OperationalAttribute
ServiceTest FAILED
   [junit] Running org.apache.ldap.server.prefs.PreferencesUtilsTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
   [junit] Running 
org.apache.ldap.server.prefs.ServerPreferencesFactoryTest
   [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.015 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.prefs.ServerPreferencesFactoryTe
st FAILED
   [junit] Running 
org.apache.ldap.server.prefs.ServerSystemPreferencesTest
   [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.032 sec
   [junit] [ERROR] TEST 
org.apache.ldap.server.prefs.ServerSystemPreferencesTes
t FAILED
   [junit] Running 
org.apache.ldap.server.schema.bootstrap.BootstrapSchemaLoade
rTest
   [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.703 sec
BUILD FAILED
File...... C:\Documents and 
Settings\Chris\.maven\cache\maven-multiproject-plugi
n-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
and Settin
gs\Chris\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54: 
<fail> There
were test failures.
Total time: 1 minutes 36 seconds
Finished at: Wed Apr 20 13:13:13 EST 2005
D:\java\apacheDS\svn_head\apacheds\trunk>


Re: Newbie qn de jour: how do I make the jar?

Posted by Alex Karasulu <ao...@bellsouth.net>.
Chris Betts wrote:

> Hi Folks,
>
>     I'm back after a distraction (had a release to get out) and I'm 
> still trying to build the server.  I think everything is working, but 
> I'm just too unfamiliar with the tools to use them correctly :-).

Hmm you want to build the server from the trunk right?

>    I then tried 'maven multiproject:install' and that ran suspiciously 
> fast (2secs) and claimed to be successful, but didn't seem to do 
> anything new.
>
Do this within the directory/apacheds/trunk directory and its should 
take a little longer this time.  If not we can troubleshoot further. 
good luck.

Alex


Newbie qn de jour: how do I make the jar?

Posted by Chris Betts <ch...@pegacat.com>.
Hi Folks,

     I'm back after a distraction (had a release to get out) and I'm 
still trying to build the server.  I think everything is working, but 
I'm just too unfamiliar with the tools to use them correctly :-).

    I've checked out the head using TortoiseSCN, and that all looks 
cool, and I've got maven running nicely.  However when I run "maven 
multiproject' (as per the README.TXT in apacheds/trunk) in the top 
directory, all it seems to do is create a target directory containing a 
bunch of docs, and sub directories [docs | generated-xdocs | javadoc | 
linkcheck].  All very extreme programming doing the docs before the 
code, but I think I'm missing something :-).

    I then tried 'maven multiproject:install' and that ran suspiciously 
fast (2secs) and claimed to be successful, but didn't seem to do 
anything new.

    I tried 'maven jar' based on something I saw on the maven web site 
that I didn't understand, and it claimed it couldn't find any java 
classes to compile.

    I then tried 'maven help', but that didn't work out so well...

    I suspect I'm doing something so basically bone-headed it hasn't 
occurred to anyone to put it in the docs :-).  I've got lovely 
sourcetrees brimming with java classes under svn_head [apacheds | asn1 
| authx | clients | naming | protocol-providers | sandbox | shared | 
sitedocs | trunks] so I think everything is good to go; maven has 
downloaded truck loads of jars for itself... I think I'm just missing 
the magic spell!  I've had a prowl through the docs and the readme and 
wiki, but can't see what I'm doing wrong.

    Any ideas?

      "confused in Melbourne*

    - Chris


Re: Newbie qn de jour: where is ldap-common-0.8.jar?

Posted by Emmanuel Lecharny <el...@apache.org>.
apacheds-0.8 has disappeared from the repository, don't know why.
Definitively use a check-out. 0-9 is out soon.

Sorry for the inconvenience...

Emmanuel Lécharny

On Thu, 2005-04-07 at 01:14 -0400, chris@pegacat.com wrote:
> Hi Folks, 
> 
>   apologies for the basic question, but I'm very new to Maven :-).  I'm 
> trying to set up the apache directory project on Win XP / java 1.4.02_4.  
> I've installed maven and unziped apacheds-0.8-src.zip and apacheds-0.8.zip. 
> 
>   When I run maven multiproject, there's a lot of happy whirring and 
> clicking, but after successfully downloading a bunch of jars maven grinds to 
> a halt with the message:
>  ...
>  Attempting to download ldap-common-0.8.jar.
>  WARNING: Failed to download ldap-common-0.8.jar.
>  ... 
> 
>   Any clues to what I'm doing wrong?  Do I need to manually download a jar 
> or something?  I've had a browse through the doco and the (*cough* recent 
> *cough*) mailing lists, but couldn't figure it out. 
> 
>   - Chris Betts 
> 
> (JXplorer ldap browser project - jxplorer.org) 
> 
>  
> 
> P.S. - FWIW, here's the complete maven dump: 
> 
> D:\java\apacheDS\apacheds-0.8>maven multiproject
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 
> 
> Plugin cache will be regenerated
> Attempting to download junit-3.8.1.jar.
> 118K downloaded
> Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
> 14K downloaded
> Attempting to download commons-jelly-tags-log-20030211.142821.jar.
> 8K downloaded
> Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
> 7K downloaded
> Attempting to download velocity-1.4-dev.jar.
> 351K downloaded
> Attempting to download velocity-dvsl-0.45.jar.
> 25K downloaded
> Attempting to download isorelax-20030108.jar.
> 188K downloaded
> Attempting to download jing-20030619.jar.
> 475K downloaded
> Attempting to download commons-net-1.1.0.jar.
> 139K downloaded
> Attempting to download jsch-0.1.5.jar.
> 79K downloaded
> build:start: 
> 
> multiproject:projects-init:
>    [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Protocol
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Gathering project list ApacheDS Shared
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Protocol
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Plugin
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Core
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Main
> | Memory: 7M/8M
> +---------------------------------------- 
> 
> multiproject:site-init:
>    [mkdir] Created dir: D:\java\apacheDS\apacheds-0.8\target\generated-xdocs
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Protocol
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Generating site for  ApacheDS Shared
> | Memory: 7M/8M
> +----------------------------------------
> Attempting to download ldap-common-0.8.jar.
> WARNING: Failed to download ldap-common-0.8.jar. 
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\Chris\.maven\cache\maven-multiproject-plugi
> n-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 103
> Column.... 9
> The build cannot continue because of the following unsatisfied dependency: 
> 
> ldap-common-0.8.jar 
> 
> Total time: 1 minutes 35 seconds
> Finished at: Thu Apr 07 14:36:16 EST 2005 
> 
>  
> 
> 
> 



Re: Newbie qn de jour: where is ldap-common-0.8.jar?

Posted by Emmanuel Lecharny <el...@apache.org>.
Hi !

May I suggest that you check-out the last cvs version? there was a damn
lot of -good- work done since 0-8! 

Be sure that Maven's file have been improved a lot since 0-8 too, so you
may have a much better experience using the CVS version.

If you have any pb, feel free to post again !

Emmanuel Lécharny
(JXplorer is Kool!)

On Thu, 2005-04-07 at 01:14 -0400, chris@pegacat.com wrote:
> Hi Folks, 
> 
>   apologies for the basic question, but I'm very new to Maven :-).  I'm 
> trying to set up the apache directory project on Win XP / java 1.4.02_4.  
> I've installed maven and unziped apacheds-0.8-src.zip and apacheds-0.8.zip. 
> 
>   When I run maven multiproject, there's a lot of happy whirring and 
> clicking, but after successfully downloading a bunch of jars maven grinds to 
> a halt with the message:
>  ...
>  Attempting to download ldap-common-0.8.jar.
>  WARNING: Failed to download ldap-common-0.8.jar.
>  ... 
> 
>   Any clues to what I'm doing wrong?  Do I need to manually download a jar 
> or something?  I've had a browse through the doco and the (*cough* recent 
> *cough*) mailing lists, but couldn't figure it out. 
> 
>   - Chris Betts 
> 
> (JXplorer ldap browser project - jxplorer.org) 
> 
>  
> 
> P.S. - FWIW, here's the complete maven dump: 
> 
> D:\java\apacheDS\apacheds-0.8>maven multiproject
> __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 
> 
> Plugin cache will be regenerated
> Attempting to download junit-3.8.1.jar.
> 118K downloaded
> Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
> 14K downloaded
> Attempting to download commons-jelly-tags-log-20030211.142821.jar.
> 8K downloaded
> Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
> 7K downloaded
> Attempting to download velocity-1.4-dev.jar.
> 351K downloaded
> Attempting to download velocity-dvsl-0.45.jar.
> 25K downloaded
> Attempting to download isorelax-20030108.jar.
> 188K downloaded
> Attempting to download jing-20030619.jar.
> 475K downloaded
> Attempting to download commons-net-1.1.0.jar.
> 139K downloaded
> Attempting to download jsch-0.1.5.jar.
> 79K downloaded
> build:start: 
> 
> multiproject:projects-init:
>    [echo] Gathering project list
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Protocol
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Gathering project list ApacheDS Shared
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Protocol
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Plugin
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Core
> | Memory: 7M/8M
> +----------------------------------------
> +----------------------------------------
> | Gathering project list ApacheDS Main
> | Memory: 7M/8M
> +---------------------------------------- 
> 
> multiproject:site-init:
>    [mkdir] Created dir: D:\java\apacheDS\apacheds-0.8\target\generated-xdocs
> Starting the reactor...
> Our processing order:
> ApacheDS Shared
> ApacheDS Protocol
> ApacheDS Plugin
> ApacheDS Core
> ApacheDS Main
> +----------------------------------------
> | Generating site for  ApacheDS Shared
> | Memory: 7M/8M
> +----------------------------------------
> Attempting to download ldap-common-0.8.jar.
> WARNING: Failed to download ldap-common-0.8.jar. 
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\Chris\.maven\cache\maven-multiproject-plugi
> n-1.3.1\plugin.jelly
> Element... maven:reactor
> Line...... 103
> Column.... 9
> The build cannot continue because of the following unsatisfied dependency: 
> 
> ldap-common-0.8.jar 
> 
> Total time: 1 minutes 35 seconds
> Finished at: Thu Apr 07 14:36:16 EST 2005 
> 
>  
> 
> 
> 



Newbie qn de jour: where is ldap-common-0.8.jar?

Posted by ch...@pegacat.com.
Hi Folks, 

  apologies for the basic question, but I'm very new to Maven :-).  I'm 
trying to set up the apache directory project on Win XP / java 1.4.02_4.  
I've installed maven and unziped apacheds-0.8-src.zip and apacheds-0.8.zip. 

  When I run maven multiproject, there's a lot of happy whirring and 
clicking, but after successfully downloading a bunch of jars maven grinds to 
a halt with the message:
 ...
 Attempting to download ldap-common-0.8.jar.
 WARNING: Failed to download ldap-common-0.8.jar.
 ... 

  Any clues to what I'm doing wrong?  Do I need to manually download a jar 
or something?  I've had a browse through the doco and the (*cough* recent 
*cough*) mailing lists, but couldn't figure it out. 

  - Chris Betts 

(JXplorer ldap browser project - jxplorer.org) 

 

P.S. - FWIW, here's the complete maven dump: 

D:\java\apacheDS\apacheds-0.8>maven multiproject
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2 

Plugin cache will be regenerated
Attempting to download junit-3.8.1.jar.
118K downloaded
Attempting to download commons-jelly-tags-jsl-20030211.143151.jar.
14K downloaded
Attempting to download commons-jelly-tags-log-20030211.142821.jar.
8K downloaded
Attempting to download commons-jelly-tags-velocity-20030303.205659.jar.
7K downloaded
Attempting to download velocity-1.4-dev.jar.
351K downloaded
Attempting to download velocity-dvsl-0.45.jar.
25K downloaded
Attempting to download isorelax-20030108.jar.
188K downloaded
Attempting to download jing-20030619.jar.
475K downloaded
Attempting to download commons-net-1.1.0.jar.
139K downloaded
Attempting to download jsch-0.1.5.jar.
79K downloaded
build:start: 

multiproject:projects-init:
   [echo] Gathering project list
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Protocol
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Gathering project list ApacheDS Shared
| Memory: 7M/8M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Protocol
| Memory: 7M/8M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Plugin
| Memory: 7M/8M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Core
| Memory: 7M/8M
+----------------------------------------
+----------------------------------------
| Gathering project list ApacheDS Main
| Memory: 7M/8M
+---------------------------------------- 

multiproject:site-init:
   [mkdir] Created dir: D:\java\apacheDS\apacheds-0.8\target\generated-xdocs
Starting the reactor...
Our processing order:
ApacheDS Shared
ApacheDS Protocol
ApacheDS Plugin
ApacheDS Core
ApacheDS Main
+----------------------------------------
| Generating site for  ApacheDS Shared
| Memory: 7M/8M
+----------------------------------------
Attempting to download ldap-common-0.8.jar.
WARNING: Failed to download ldap-common-0.8.jar. 

BUILD FAILED
File...... C:\Documents and 
Settings\Chris\.maven\cache\maven-multiproject-plugi
n-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 103
Column.... 9
The build cannot continue because of the following unsatisfied dependency: 

ldap-common-0.8.jar 

Total time: 1 minutes 35 seconds
Finished at: Thu Apr 07 14:36:16 EST 2005 

 



Re: apacheds-0.8 not binding to all interfaces

Posted by Ben Walding <be...@walding.com>.
Cool, that works much more nicely.

Thanks,

Ben

Robert r. Sanders wrote:

> I had this problem too.  From following the discussion and commit 
> messages on the dev list a lot of progress has been made since 0.8.  
> Try downloading the latest snapshot from:  
> http://cvs.apache.org/repository/directory/jars/  it works for me.
>
> Ben Walding wrote:
>
>> Should have said:
>> java -jar apacheds-main-0.8.jar
>>
>>
>


Re: apacheds-0.8 not binding to all interfaces

Posted by "Robert r. Sanders" <ro...@ipov.net>.
I had this problem too.  From following the discussion and commit 
messages on the dev list a lot of progress has been made since 0.8.  Try 
downloading the latest snapshot from:  
http://cvs.apache.org/repository/directory/jars/  it works for me.

Ben Walding wrote:

> Should have said:
> java -jar apacheds-main-0.8.jar
>
>

-- 
    Robert r. Sanders
    Chief Technologist
    iPOV
    (334) 821-5412
    www.ipov.net


Re: apacheds-0.8 not binding to all interfaces

Posted by Ben Walding <be...@walding.com>.
Should have said:
java -jar apacheds-main-0.8.jar

Ben Walding wrote:

> Hi,
>  I was wondering if there was a way to make apacheds-main (0.8) to 
> bind to all interfaces rather than just randomly picking one 
> (something based on hostnames as far as I can tell).
>
>  eg. on my Windows XP box (JDK 1.5) it starts up ok
> java -jar apacheds-0.8.jar

this is actually
java -jar apacheds-main-0.8.jar

> server: using default properties ...
> server: started in 1906 milliseconds
>
> However then the server only listens on interface 192.168.0.4.  I'd 
> prefer that it listened on every interface or was at least 
> controllable (I'm using it as a test ldap server, I'd rather set 
> 127.0.0.1 so my tests don't change when I switch IP addresses)
>
> Running on Linux (SuSE 9.1, JDK 1.5) it starts up ok and was only 
> listening on 127.0.0.1.  I managed to change the hosts file so that it 
> listened on the external IP address (it's a server on my local network 
> - I want it on the public IP now).
>
> my hosts file originally looked like
> 127.0.0.1 localhost ldaphost
> to change binding to 192.168.0.2, I changed it to
> 127.0.0.1 localhost
> 192.168.0.2 ldaphost
>
>
> Any thoughts?
>
> Cheers,
>
> Ben
>