Jon:
Problem appears to be that the getLoggingImplementation method is returning a null string (which is definitely not expected). This suggests that something in the build is not functioning the same as it is here. I'll run a clean build here later today but in the meantime can you tell me which version of maven you are running - and can you also post the contents of the merlin.properties file embedded inside the merlin-impl-3.3-SNAPSHOT.jar file.
Stephen.
Jon Elson-Green wrote:
Stephen McConnell wrote:
Merlin 3.3 (a.k.a CVS HEAD) now includes:
* a plug-in logging implementation * a default implementation supporting the much requested rotating file strategies * support for multiple logging factory types and multiple targets * improved category management * complete separation of the merlin core from the LogKit implementation
Examples of the new logging configuration schema are included under the merlin/logging/test/conf directory. All 3.3 sources have been updated to the "new and improved" logging model.
Cheers, Steve.
I have updated to cvs head, remade merlin and installed it. Now I cant seem to run anything, even the hello tutorial app fails:
[EMAIL PROTECTED] hello]$ merlin target/classes -execute
Starting Merlin 3.3-SNAPSHOT.
====================
Platform: Linux
Java Home: /usr/java
Merlin Home: /usr/local/merlin
Security policy: /usr/local/merlin/bin/security.policy
JVM Options:
Bootstrap JAR: /usr/local/merlin/bin/lib/merlin-cli-3.3-SNAPSHOT.jar
Merlin Arguments: -system "/home/jon/.maven/repository" -repository "/home/jon/.maven/repository" target/classes -execute
---- runtime exception report --------------------------------------------------
Exception: java.lang.NullPointerException
Message: spec
---- stack trace ---------------------------------------------------------------
java.lang.NullPointerException: spec
org.apache.avalon.repository.Artifact.createArtifact(Artifact.java:81)
org.apache.avalon.merlin.impl.DefaultCriteria.getLoggingImplementation(DefaultCriteria.java:493)
org.apache.avalon.merlin.impl.DefaultFactory.createLoggingManager(DefaultFactory.java:666)
org.apache.avalon.merlin.impl.DefaultFactory.create(DefaultFactory.java:200)
org.apache.avalon.merlin.cli.Main.<init>(Main.java:333)
org.apache.avalon.merlin.cli.Main.main(Main.java:286)
--------------------------------------------------------------------------------
xargs: /usr/java/bin/java: exited with status 255; aborting
What have I failed to update?
thanks in advance, Jon
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/merlin/distributions/latest | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]