--- a/common/build.test.xml Mon Sep 14 15:36:19 2009 +0100
+++ b/common/build.test.xml Mon Sep 14 15:47:06 2009 +0100
@@ -172,7 +172,7 @@
<!-- Sending testdrop to ATS3 -->
- <target name="sf-send-testpkg" depends="sf-find-ATS-worker-root,sf-make-junction">
+ <target name="sf-send-testpkg" depends="sf-start-ats,sf-find-ATS-worker-root,sf-make-junction">
<mkdir dir="${sf.spec.test.workerroot}/${sf.spec.test.package.droppath}"/>
<echo message="Sending test package ${sf.spec.test.package.name} to ${sf.spec.test.host.name} path ${sf.spec.test.host.droppath}"/>
<exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_testdrop.log">
@@ -185,4 +185,9 @@
<arg value="--host-drop-path=${sf.spec.test.host.droppath}"/>
</exec>
</target>
+ <target name="sf-start-ats">
+ <exec executable="${ats.drive}/start.cmd" dir="${ats.drive}" failonerror="false" spawn="true" vmlauncher="false" />
+ <echo message="Waiting for 10 seconds to start the ATS Worker......."/>
+ <sleep seconds="10"/>
+ </target>
</project>