ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ma, Seon" <seon...@gs.com>
Subject Regarding Junit fork
Date Tue, 27 Mar 2001 14:36:58 GMT
Hi
  iam trying to use the optional task of ant named "junit"
  I want to run the junit task in separate vm ,so i gave
 fork="yes" .But iam getting error as follows

Error Message
------------------

[Image]
Snippet code
--------------
<target name="test" depends="dist">
    <junit printsummary="yes" fork="yes" >
      <classpath>
        <pathelement location="${jarfile}"/>
        <pathelement path="${java.class.path}"/>
      </classpath>
      <formatter type="plain"/>
      <test name="com.myproject.server.UDPListenerTestSuite"
            outfile="${results}"
      />
    </junit>
  </target>

Expecting reply from u in this regard

Thx
Bala

REPLY:
Which version of Ant are you using?
I had the same problem when I was using 1.2x.
The problem went away when I got the lastest, which I believe is 1.3x.


Seon Ma
Email: seon.ma@gs.com




Mime
View raw message