ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From balaSubramanian <ba...@lucid.co.in>
Subject Regarding Junit fork
Date Tue, 27 Mar 2001 07:49:32 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




Mime
View raw message