Hi,

thx very much for your fast reply, it must have been the missing jars in my classpath. 
That helped me out.

Greetings 

Jens
  ----- Original Message ----- 
  From: Stephen McConnell 
  To: Avalon framework users 
  Sent: Saturday, April 03, 2004 5:03 AM
  Subject: Re: [merlin]Where are the class files in the avalon-meta-plugin-1.3.1.jar 
of merlin-distr 3.2.4 and 3.2.5?


  Jens Krefeldt wrote:

  > Oh sorry,
  > 
  > thx for this Info. By mistake I thougth this is the jar with the
  > org.apache.avalon.meta.info.ant.MetaTask.class. Yes I found the correct one:
  > avalon-meta-tools-1.3.jar
  > 
  > but this gave me an error with Ant like described in my last message. Any
  > suggestions?

  Here is an example of a working build.xml that uses the meta-info 
  generation task.

  <?xml version="1.0"?>

  <project name="meta" default="meta" basedir=".">

     <property file="${basedir}/ant.properties"/>

     <path id="project.class.path">
       <pathelement location="${framework.api.jar}"/>
       <pathelement location="${framework.impl.jar}"/>
       <pathelement location="${meta.api.jar}"/>
       <pathelement location="${meta.spi.jar}"/>
       <pathelement location="${meta.impl.jar}"/>
       <pathelement location="${meta.tools.jar}"/>
       <pathelement location="${excalibur.config.jar}"/>
       <pathelement location="${qdox.jar}"/>
     </path>

     <target name="meta" description="Generates the XML descriptors">
       <mkdir dir="${basedir}/target/classes" />
       <taskdef
         name="meta" classname="org.apache.avalon.meta.info.ant.MetaTask">
         <classpath refid="project.class.path" />
       </taskdef>
       <meta destDir="${basedir}/target/classes" format="xml">
         <fileset dir="${basedir}/src/java">
           <include name="**/*.java"/>
         </fileset>
       </meta>
     </target>

  </project>

  Hope that helps.

  Stephen.

  > 
  > Bye
  > 
  > Jens
  > 
  > 
  > ----- Original Message ----- 
  > From: Stephen McConnell
  > To: Avalon framework users
  > Sent: Saturday, April 03, 2004 4:13 AM
  > Subject: Re: [merlin]Where are the class files in the
  > avalon-meta-plugin-1.3.1.jar of merlin-distr 3.2.4 and 3.2.5?
  > 
  > 
  > Jens Krefeldt wrote:
  > 
  > 
  >>Hi,
  >>
  >>maybe forgotten during build?
  > 
  > 
  > There are no classes in the jar file.  If you look inside the jar you
  > will see a project.xml file.  This is used by Maven to establish the
  > classloader for the plugin.
  > 
  > Stepohen.
  > 
  > 
  >>Could this be fixed?
  >>
  >>greetings
  >>
  >>Jens
  >>
  >>
  >>  ----- Original Message ----- 
  >>  From: Jon Elson-Green
  >>  To: Avalon framework users
  >>  Sent: Thursday, April 01, 2004 6:52 AM
  >>  Subject: [merlin] AbstractMerlinTestCase
  >>
  >>
  >>  Is it possible to use AbstractMerlinTestCase with merlin.properties
  >>  which alters properties merlin.deployment and merlin.override?
  >>
  >>  Basically I wanted to bring up the full block in a testcase, but I
  >>  don't think I understand enough to spot the gotchas and it's
  >>  not working.
  >>
  >>  If I start merlin normally it runs fine.
  >>  If I try this test case I get a NullPointerException during initialise.
  >>
  >>  thanks
  >>  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]

Reply via email to