Hello list!

I�m having problems running blocks from inside a jar file. If I run the
hello-tutorial like the following:

merlin target\merlin-hello-tutorial-1.0.jar -execute

I get the exception in the end of this mail.

If I try running:

merlin -execute target\classes 

everything works well. Anybody knows what I�m doing wrong??

I'm using w2k

Any help appreciated,

/Torbj�rn



C:\Projekt\Jakarta\Avalon\Merlin\tutorial\hello>merlin
target\merlin-hello-tutor
ial-1.0.jar -execute
[INFO   ] (kernel): installing:
file:/${user.dir}/target/merlin-hello-tutorial-1
.0.jar

Internal error during kernel instantiation.


---- report -------------------------------------------------------

Exception: org.apache.avalon.merlin.kernel.KernelException
Message: Block install failure:
file:/C:/Projekt/Jakarta/Avalon/Merlin/tutorial/
hello/target/merlin-hello-tutorial-1.0.jar

Cause: org.apache.avalon.composition.model.ModelException
Message: Unable to create block from embedded descriptor
[jar:file:/C:/Projekt/J
akarta/Avalon/Merlin/tutorial/hello/target/merlin-hello-tutorial-1.0.jar
!/BLOCK-
INF/block.xml] in the containmment model [/] due to a build related
error.

Cause: org.apache.avalon.composition.model.ModelException
Message: Could not create classloader.

Cause: java.lang.IllegalArgumentException
Message: avalon-framework-api,avalon-framework-impl-Extension-Name

-- 
 Torbj�rn Karlsson 
 Interpontilis Consulting AB
 Marieholmsgatan 64
 SE-415 02 Gothenburg Sweden
 Phone: +46 (0)708 991033
 Email: [EMAIL PROTECTED]
 Internet: www.ipontilis.com 


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

Reply via email to