Alas, I rolled back to RELEASE_3-2-5 this afternoon after a frustrating day, my maven is 1.0-rc1, I no longer have a merlin-3.3-snapshot to check.

btw after rolling back I had to change merlin/activation/impl/project.xml in order to compile:

   <dependency>
     <groupId>avalon-composition</groupId>
     <artifactId>avalon-composition-api</artifactId>
     <version>1.2.3</version>
   </dependency>
   <dependency>
     <groupId>avalon-composition</groupId>
     <artifactId>avalon-composition-spi</artifactId>
     <version>1.2.1</version>
   </dependency>
   <dependency>
     <groupId>avalon-composition</groupId>
     <artifactId>avalon-composition-impl</artifactId>
     <version>1.2.5</version>
   </dependency>

Without updating -api and -impl I was getting errors regarding ServiceModel.java

Sorry I can't be more helpful, once I get my project looking more coherent I should understand more about what everything means and I'll update to the latest snapshot to get some of that improved logging goodness!

Jon


Stephen McConnell wrote:



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]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to