Hi-

I'm trying to build a custom Junit task to run hansel coverage test suites-

Here's what I've got so far in my maven.xml-

   <goal name="lmoretti:coverage">
      <junit printsummary="yes" haltonfailure="no" fork="yes"
   timeout="600000" >
        <classpath refid="sapphire.classpath" />
        <formatter type="xml" />
        <mkdir dir="${maven.build.dir}/test-reports/coverage"/>
        <batchtest todir="${maven.build.dir}/test-reports/coverage">
          <fileset dir="${maven.test.dest}">
            <include name="target/classes/**/*CoverageTests.java"/>
          </fileset>
        </batchtest>
      </junit>
   </goal>


When I try to run it, I get no output. When I look at the maven.log, there is the following-

2003-08-18 10:39:04,362 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
junit into an Ant task, data type or property
2003-08-18 10:39:04,362 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
classpath into an Ant task, data type or property
2003-08-18 10:39:04,363 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
formatter into an Ant task, data type or property
2003-08-18 10:39:04,367 WARN org.apache.commons.jelly.tags.ant.AntTag - Could not convert tag:
batchtest into an Ant task, data type or property



This goal is copied from a Ant build.xml file, with some modification for Maven- What am I missing?


also- what is the variable for Maven's classpath?

Thank you,

Luciano Moretti


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



Reply via email to