Fixed launching of ATS3, for all servers.
authorSimon Howkins <simonh@symbian.org>
Thu, 06 May 2010 15:37:57 +0100
changeset 1007 8c24dee61a8f
parent 1006 75c9a2f0ae9e
child 1008 5600a84475d7
Fixed launching of ATS3, for all servers.
common/build.test.xml
--- a/common/build.test.xml	Tue May 04 08:41:59 2010 +0100
+++ b/common/build.test.xml	Thu May 06 15:37:57 2010 +0100
@@ -208,13 +208,23 @@
         </exec>
     </target>
     
-	<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>
-    </if>
+    <target name="sf-start-ats">
+        <if><available file="${ats.drive}/start.cmd"/>        
+            <then>
+                <forget>
+                    <exec executable="cmd" dir="${ats.drive}" failonerror="true">
+                        <arg value="/c"/>
+                        <arg value="start"/>
+                        <arg value='"ATS3 STAF"'/>
+                        <arg value="/D"/>
+                        <arg value="."/>
+                        <arg value="/MAX"/>
+                        <arg value="run.cmd"/>
+                    </exec>
+                </forget>
+                <echo message="Waiting for 10 seconds for the ATS Worker to start......."/>
+                <sleep seconds="10"/>
+            </then>
+        </if>
     </target> 
 </project>