I followed the 3.2 CVS instructions and successfully built and tested
merlin.  However, trying the merlin/platform/hello instructions (in
various forms) resulted in:

$ merlin target/hello-1.1.jar -execute
Starting Merlin 3.2.
====================
            Java Home: /usr/java/j2sdk1.4.2
          Merlin Home:
/home/blackard/development/omniprise/avalon/merlin/target/merlin
      Security policy:
/home/blackard/development/omniprise/avalon/merlin/target/merlin/bin/security.policy
          JVM Options:
        Bootstrap JAR:
/home/blackard/development/omniprise/avalon/merlin/target/merlin/bin/lib/merlin-cli-3.2.jar
     Merlin Arguments:  target/hello-1.1.jar -execute
 
---- runtime exception report
--------------------------------------------------Exception:
org.apache.avalon.merlin.KernelRuntimeException
Message: Unable to transform the token: [target/hello-1.1.jar -execute]
due to an unexpected error.
---- cause
---------------------------------------------------------------------Exception: 
org.apache.avalon.merlin.KernelRuntimeException
Message: Unable to resolve the block path [target/hello-1.1.jar
-execute].
---- stack trace
---------------------------------------------------------------org.apache.avalon.merlin.KernelRuntimeException:
 Unable to resolve the block path [target/hello-1.1.jar -execute].
org.apache.avalon.merlin.impl.DefaultCriteria.resolveURL(DefaultCriteria.java:731)
org.apache.avalon.merlin.impl.DefaultCriteria.getDeploymentURLs(DefaultCriteria.java:446)
org.apache.avalon.merlin.impl.DefaultFactory.create(DefaultFactory.java:474)
org.apache.avalon.merlin.cli.Main.<init>(Main.java:329)
org.apache.avalon.merlin.cli.Main.main(Main.java:281)
-------------------------------------------------------------------------------- 
xargs: /usr/java/j2sdk1.4.2/bin/java: exited with status 255; aborting


Trying to place -execute before the jar resulted in:

[EMAIL PROTECTED] hello]$ merlin -execute target/hello-1.1.jar
Starting Merlin 3.2.
====================
            Java Home: /usr/java/j2sdk1.4.2
          Merlin Home:
/home/blackard/development/omniprise/avalon/merlin/target/merlin
      Security policy:
/home/blackard/development/omniprise/avalon/merlin/target/merlin/bin/security.policy
          JVM Options:
        Bootstrap JAR:
/home/blackard/development/omniprise/avalon/merlin/target/merlin/bin/lib/merlin-cli-3.2.jar
     Merlin Arguments:  -execute target/hello-1.1.jar
 
---- exception report
----------------------------------------------------------Exception:
org.apache.commons.cli.UnrecognizedOptionException
Message: Unrecognized option: -execute target/hello-1.1.jar
---- stack trace
---------------------------------------------------------------org.apache.commons.cli.UnrecognizedOptionException:
 Unrecognized option: -execute target/hello-1.1.jar
org.apache.commons.cli.Parser.processOption(Parser.java:421)
org.apache.commons.cli.Parser.parse(Parser.java:230)
org.apache.commons.cli.Parser.parse(Parser.java:115)
org.apache.avalon.merlin.cli.Main.main(Main.java:232)
-------------------------------------------------------------------------------- 
xargs: /usr/java/j2sdk1.4.2/bin/java: exited with status 255; aborting


I'm very new to this stuff.  Though I've been using Java (J2SE, J2EE)
for years I haven't used it much on Linux and I haven't worked with
maven or any Avalon projects in the past.  I tried checking the archives
and didn't see anything.

Thanks in advance for any pointers or rtfm instructions :-)


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

Reply via email to