directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: Build broken (Was: Re: Getting There! (Was: Newbie qn de jour: how do I make the jar?))
Date Thu, 21 Apr 2005 07:30:07 GMT
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 <aok123@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
> > 
> > 
> 
> 



Mime
View raw message