ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shuangli_...@NAI.com
Subject set current dir for junit
Date Tue, 25 Jun 2002 20:08:33 GMT
Hi,
I got "Process fork failed." error if I set dir attribute for junit and
"yes" to fork for junit and "yes" to fork for batchtest.

What I want to do is set current working directory for junit

Any comments will be appreciated.

Thanks in advance.

Shuangli

<junit dir="tools"
	   printsummary="${junit.printsummary}" 
	   haltonerror="${junit.haltonerror}" 
	   haltonfailure="yes" 
	   fork="yes"
	   timeout="${junit.timeout}"
	   jvm="${junit.jvm}">

      <jvmarg value="${junit.jvm.options}"/>
      <sysproperty key="deploy.dir" file="${build.lib}"/>

      <classpath>
			<pathelement path="${java.class.path}/"/>
			<pathelement path="${build.classes}"/>
			<pathelement path="${build.qa.classes}"/>
			<fileset dir="${excal.base}/lib">
				<include name="**/*.jar"/>
				<include name="**/*.zip"/>
			</fileset>
			<fileset dir="${excal.base}/tools">
				<include name="**/*.jar"/>
				<include name="**/*.zip"/>
			</fileset>
      </classpath>

      <formatter type="${junit.formatter.type}"
		 usefile="${junit.formatter.usefile}"/>
	
      <batchtest todir="${build.reports}"
		 haltonerror="${junit.batchtest.haltonerror}" 
		 haltonfailure="${junit.batchtest.haltonfailure}" 
		 fork="yes">
        <fileset dir="${build.qa.classes}">
          <include name="**/TestMeta*.class"/>

        </fileset>
      </batchtest>
</junit>


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


Mime
View raw message