Hi,
I have trouble when calling ant tasks executing junit tests from maven. Are
there any known issues about this problem ?
ANT BUILD FILE
<target name="runTests">
<mkdir dir="target/test-results"/>
<junit printsummary="true" showoutput="true">
<classpath>
<pathelement location="${classes.dir}"/>
<pathelement
location="${maven.repo.local}/log4j/jars/log4j-1.2.8.jar"/>
<pathelement
location="${maven.repo.local}/commons-lang/jars/commons-lang-2.0.jar"/>
</classpath>
<batchtest todir="target/test-results">
<formatter type="xml"/>
<fileset dir="${classes.dir}">
<include name="**/*Test.class"/>
</fileset>
</batchtest>
</junit>
</target>
MAVEN FILE
<goal name="callRunTests">
<ant:ant antfile="${basedir}/build/build.xml"
target="runTests"/>
</goal>
When executing maven callRunTests, ant tells me he cannot find junit task ? Do
you know why ?
Thanks you in advance
Alain MAHIER
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]