ATS target made.
authorroyt <tathagatar@symbian.org>
Mon, 14 Sep 2009 15:47:06 +0100
changeset 441 efd6b490c9fa
parent 440 097b220a49d0
child 442 570320598130
ATS target made.
common/build.test.xml
common/build.xml
common/common_props.ant.xml
--- 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>
--- a/common/build.xml	Mon Sep 14 15:36:19 2009 +0100
+++ b/common/build.xml	Mon Sep 14 15:47:06 2009 +0100
@@ -27,6 +27,7 @@
     <property name="base_release.path" value="${sf.spec.baseline.location}"/>
     <property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
     <property name="ccm.user.password" value="set_to_any_value_to_skip_scm_checks__for_helium_5"/>
+	<property name="ats.drive" value="${sf.spec.ats_worker.drive}"/>
     
     <if>
       <equals arg1="${sf.spec.publish.diamonds.tag}" arg2="test"/>
--- a/common/common_props.ant.xml	Mon Sep 14 15:36:19 2009 +0100
+++ b/common/common_props.ant.xml	Mon Sep 14 15:47:06 2009 +0100
@@ -59,6 +59,7 @@
     <property name="sf.spec.publish.diamonds.port" value="80"/>
     <property name="sf.spec.publish.diamonds.path" value="/diamonds/builds/"/>
     <property name="sf.spec.publish.diamonds.tag" value="test"/>
+	<property name="sf.spec.ats_worker.drive" value="C:\apps\ATS3\bin"/>
     
     <property name="sf.spec.tagafterbuild.enable" value="false"/>