ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <>
Subject Ant and Junit
Date Wed, 06 Feb 2008 14:45:18 GMT
How do I run in Ant 1.6.5 a Junite-Tests that are stored in a classfile that contains the .class-files
of the tests.

<batchtest> uses a fileset, but how do I put the content of a jarfile to Junit?
If I do it in a Batchfile it is no problem.

Example this does not work (The jarfile is part of the junit.classpath):
<junit errorproperty="dope.test.failed"
            <path refid="junit.classpath"/>
          <formatter type="brief" usefile="false"/>
          <formatter type="xml" usefile="true"/>
            <batchtest todir="${}">
                <fileset dir="." >
                    <include name="${junit.testpattern}"/>

Jürgen Knuplesch          
icon Systemhaus GmbH                Tel. +49 711 806098-275
Sophienstraße 40                    
D-70178 Stuttgart                   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message