ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knuplesch, Jürgen <>
Subject AW: Junit tasks with TestSuite
Date Fri, 19 Oct 2007 07:30:39 GMT
Maybe you need more memory??
I use sth. like this:
<junit errorproperty="dope.test.failed" failureproperty="dope.test.failed" maxmemory="1024m"


Jürgen Knuplesch          
icon Systemhaus GmbH           

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



Von: [] 
Gesendet: Donnerstag, 18. Oktober 2007 23:21
Betreff: Junit tasks with TestSuite

Hi All, 
        I am using Junit task for the Unit testing , following is my task 

                        <junit printsummary="yes" haltonfailure="no"> 
                                <classpath refid="test.pathrefs" /> 
                                <formatter type="plain"/> 
                                <batchtest fork="yes" todir="${}"> 
                                        fileset dir="${src.tests}"> 
                                        include name="**/*Test*.java"/> 

When the same is initiated from the Command prompt, it just hangs when it finds a *

I am using Ant 1.7.0 and have put the following in the classpath : 

                <pathelement location="C:/apache-ant-1.7.0/lib/ant-junit.jar"/> 
                <fileset dir="C:/apache-ant-1.7.0/lib/"> 
                        <include name="**/*.jar"/> 
                </fileset > 

Any reason why is it happening ? Please help 


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message