Merge
authorBrendan Donegan <brendand@symbian.org>
Tue, 27 Apr 2010 09:29:07 +0100
changeset 985 380b3f627065
parent 984 a820ca8ac7a7 (diff)
parent 979 c4c1cf594032 (current diff)
child 986 95924ae2e0d6
Merge
common/build.test.xml
--- a/common/build.test.xml	Mon Apr 26 14:42:28 2010 +0100
+++ b/common/build.test.xml	Tue Apr 27 09:29:07 2010 +0100
@@ -183,9 +183,13 @@
             <arg value="--host-drop-path=${sf.spec.test.host.droppath}"/>
         </exec>
     </target>
-	<target name="sf-start-ats">        			
-	    <exec executable="start.cmd" dir="${ats.drive}" spawn="true" failonerror="false"/>
-		<echo message="Waiting for 10 seconds to start the ATS Worker......."/>
-		<sleep seconds="10"/>
+    
+	<target name="sf-start-ats">
+    <if><available file="${ats.drive}/start.cmd"/>        
+    <then>
+        <exec executable="start.cmd" dir="${ats.drive}" spawn="true" failonerror="false"/>
+        <echo message="Waiting for 10 seconds to start the ATS Worker......."/>
+        <sleep seconds="10"/>
+    </then>
     </target> 
 </project>