You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by James Black <jb...@ieee.org> on 2003/12/29 18:42:54 UTC

re: process fails using fork on ant version 1.6.0

Hello,
  I am using JDK1.4.2 and I need to set my max memory higher, but 
forking is failing for me, on Solaris 8. 
  If I use either fork that I have below I get the same message, but it 
all runs when I take out fork="yes" from junit (I originally didn't have 
it in batchtest).

  Any suggestions?  Thank you.

    <target depends="init, jar"
            description="Run Axis tests"
            name="runtests"
            unless="tests.uptodate">
	<junit dir="testdir/classes"
		filtertrace="false"
		haltonerror="false"
		haltonfailure="false"
		includeantruntime="true"
		newenvironment="true"
		errorProperty="test.failed"
		failureProperty="test.failed"
                fork="yes"
		maxmemory="400M"
		showoutput="false"
		printsummary="yes">
            <formatter type="brief" usefile="true"/>
            <formatter type="xml"/>
            <classpath>
               :
            </classpath>
            <batchtest todir="${test.data.dir}" fork="yes">
                :
            </batchtest>




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org