You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by ts...@scancoin.se on 2004/01/15 10:28:23 UTC
Build fails when building merlin from CVS HEAD
This is what I did:
1) Created a new directory and checked out avalon HEAD in it.
2) executed the 'main' ant task in the avalon directory
Everything is built successfully until the merlin directory is processed by
the maven reactor and the following is being built:
[exec] Starting the reactor...
[exec] Our processing order:
[exec] Avalon Extension SPI
[exec] Avalon Composition API
[exec] Avalon Activation API
[exec] Avalon Activation SPI
[exec] Avalon Composition SPI
[exec] Avalon Extension Framework
[exec] Avalon Composition Framework
[exec] Avalon Activation Framework
[exec] Avalon HTTP API
[exec] Avalon HTTP Implementation
[exec] Avalon HTTP Model Listener
[exec] Avalon HTTP
[exec] Merlin API
[exec] Merlin Implementation
This is the error message when Merlin Implementation about to compile:
[exec] +----------------------------------------
[exec] | Installing: Merlin Implementation
[exec] | Memory: 32M/42M
[exec] +----------------------------------------
[exec] Attempting to download merlin-api-3.3-SNAPSHOT.jar.
[exec] ..
[exec] Attempting to download avalon-activation-api-2.0-SNAPSHOT.jar.
[exec] Attempting to download avalon-activation-spi-2.0-SNAPSHOT.jar.
[exec] Attempting to download avalon-activation-impl-2.0-SNAPSHOT.jar.
[exec] Attempting to download avalon-composition-api-2.0-SNAPSHOT.jar.
[exec] Attempting to download avalon-composition-spi-2.0-SNAPSHOT.jar.
[exec] Attempting to download avalon-composition-impl-2.0-SNAPSHOT.jar.
[exec] java:prepare-filesystem:
[exec] [mkdir] Created dir:
D:\Projekt\avalon-cvs\avalon\merlin\kernel\
impl\target\classes
[exec] avalon:artifact:
[exec] [echo] Artifact:
D:\Projekt\avalon-cvs\avalon\merlin\kernel\impl
/target/merlin-impl-3.3-SNAPSHOT.jar.meta
[exec] [copy] Copying 1 file to C:\Documents and
Settings\tso\.maven\re
pository\merlin\jars
[exec] java:compile:
[exec] [echo] Compiling to
D:\Projekt\avalon-cvs\avalon\merlin\kernel\i
mpl/target/classes
[exec] [javac] Compiling 5 source files to
D:\Projekt\avalon-cvs\avalon
\merlin\kernel\impl\target\classes
[exec]
D:\Projekt\avalon-cvs\avalon\merlin\kernel\impl\src\java\org\apache\
avalon\merlin\impl\DefaultFactory.java:63: cannot resolve symbol
[exec] symbol : class BlockContext
[exec] location: package appliance
[exec] import org.apache.avalon.activation.appliance.BlockContext;
[exec] ^
[exec]
D:\Projekt\avalon-cvs\avalon\merlin\kernel\impl\src\java\org\apache\
avalon\merlin\impl\DefaultFactory.java:504: cannot resolve symbol
[exec] symbol : class BlockContext
[exec] location: class org.apache.avalon.merlin.impl.DefaultFactory
[exec] ClassLoader spi = BlockContext.class.getClassLoader();
[exec] ^
[exec] 2 errors
[exec] BUILD FAILED
[exec] File...... file:/D:/Projekt/avalon-cvs/avalon/merlin/
[exec] Element... maven:reactor
[exec] Line...... 90
[exec] Total time: 1 minutes 1 seconds
[exec] Finished at: Thu Jan 15 10:21:16 CET 2004
What have I missed?
Regards,
Tobias Sodergren
Re: Build fails when building merlin from CVS HEAD
Posted by Stephen McConnell <mc...@apache.org>.
tso@scancoin.se wrote:
> D:\Projekt\avalon-cvs\avalon\merlin\kernel\impl\src\java\org\apache\
> avalon\merlin\impl\DefaultFactory.java:504: cannot resolve symbol
> [exec] symbol : class BlockContext
> [exec] location: class org.apache.avalon.merlin.impl.DefaultFactory
>
> [exec] ClassLoader spi = BlockContext.class.getClassLoader();
>
> What have I missed?
Nothing ... I've been cleaning up the API and impl classes and in the
process managed to factor out the BlockContext class. Looks like I
missed this reference. CVS is now updated.
Cheers, Stephen.
--
|------------------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org/merlin |
| http://dpml.net/merlin/distributions/latest |
|------------------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org