The new <artifact> format is not supported in 3.3.0. The objective is to
cleanup artifact uri usage across merlin and subsystems before the next
release. 

To build the merlin installation you can either build everything from
root using 

$ ant

or just build from /runtime and then grab the zip'ed installation under
runtime/merlin/cli/target/distributions/dist.  

Steve.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 20, 2004 10:59 AM
To: [EMAIL PROTECTED]
Subject: [merlin]new artifact format?

Hi,
I'm digging into the JMX facility agin. Everything build with magic -
great
stuff!

When I include the facility into my block.xml and run it with
merlin-3.3.0,
the jmx-mx4j block.xml seems to give errors. Is the new
 <artifact>jar:avalon/jmx/avalon-jmx-api#SNAPSHOT</artifact>
notation supported by merlin 3.0.0 and if not, how do I build a runnable
merlin from svn?

Thanks

/peter


---- exception report
----------------------------------------------------------

Exception: org.apache.avalon.merlin.KernelException
Message: Install failure:
file:/H:/workspace/OrchardJ/modules/bootstrap/conf/cas
hout-block.xml
---- cause
---------------------------------------------------------------------

Exception: org.apache.avalon.composition.model.ModelException
Message: Unable to create block from embedded descriptor
[jar:file:/C:/Documents
 and
Settings/PNB/.maven/repository/avalon-jmx/jars/avalon-jmx-mx4j-SNAPSHOT.
jar
!/BLOCK-INF/block.xml] in the containmment model [/Orchard] due to a
build
relat
ed error.
---- cause
---------------------------------------------------------------------

Exception: org.apache.avalon.composition.model.ModelException
Message: Could not create classloader.
---- cause
---------------------------------------------------------------------

Exception: org.apache.avalon.repository.RepositoryException
Message: Failed to download artifact to local cache file C:\Documents
and
Settin
gs\PNB\.maven\repository\jar:avalon\jmx\jars\avalon-jmx-spi-SNAPSHOT.jar
from ho
sts:
  http://arven/artifacts/
---- cause
---------------------------------------------------------------------

Exception: java.io.IOException
Message: Connection returned a null input stream:
http://arven/artifacts/jar:ava
lon/jmx/jars/avalon-jmx-spi-SNAPSHOT.jar
---- stack trace
---------------------------------------------------------------

java.io.IOException: Connection returned a null input stream:
http://arven/artif
acts/jar:avalon/jmx/jars/avalon-jmx-spi-SNAPSHOT.jar
org.apache.avalon.repository.util.LoaderUtils.getResource(LoaderUtils.ja
va:3
65)
org.apache.avalon.repository.util.LoaderUtils.getResource(LoaderUtils.ja
va:9
5)





------------------------------------------------------------------------
--


<?xml version="1.0" encoding="ISO-8859-1"?>

<container name="jmx-facility">

  <classloader>
    <classpath>
      <artifact>jar:avalon/jmx/avalon-jmx-api#SNAPSHOT</artifact>
 
<artifact>jar:avalon/composition/avalon-composition-api#2.0.0</artifact>
 
<artifact>jar:avalon/util/avalon-util-extension-api#1.2.0</artifact>
 
<artifact>jar:avalon/repository/avalon-repository-api#SNAPSHOT</artifact
>
      <artifact>jar:avalon/logging/avalon-logging-api#1.0.0</artifact>
      <artifact>jar:avalon/meta/avalon-meta-api#1.4.0</artifact>
 
<artifact>jar:avalon/framework/avalon-framework-api#SNAPSHOT</artifact>
      <artifact>jar:avalon/util/avalon-util-i18n#1.0.0</artifact>
      <artifact>jar:avalon/jmx/avalon-jmx-handler#SNAPSHOT</artifact>
    </classpath>
  </classloader>

  <include name="mx4j"
artifact="block:avalon/jmx/avalon-jmx-mx4j#SNAPSHOT"/>

  <component name="handler"
class="org.apache.avalon.jmx.handler.JmxManagementHandler"/>

</container>




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

Reply via email to