common/build.xml
changeset 923 5ccf9d5ab663
parent 916 a93d4e0357e5
parent 906 5239d4d0bed1
child 926 86dabb8aa2dd
--- a/common/build.xml	Thu Mar 11 13:20:26 2010 +0000
+++ b/common/build.xml	Thu Mar 11 13:23:18 2010 +0000
@@ -230,7 +230,7 @@
     </target>
 
     <target name="sf-prebuild" depends="sf-prep,sf-prebuild-noprep"/>
-    <target name="sf-prebuild-noprep" depends="sf-prebuild-announce,sf-diamonds-connect,sf-diamonds-envinfo,sf-diamonds-tag-build,sf-getenvs,sf-syncsource,sf-diamondize-bom">
+    <target name="sf-prebuild-noprep" depends="sf-prebuild-announce,sf-diamonds-connect,sf-diamonds-envinfo,sf-diamonds-tag-build,sf-get-utils,sf-getenvs,sf-syncsource,sf-diamondize-bom">
         <stopwatch name="sf-prebuild" action="elapsed"/>
     </target>
     
@@ -310,6 +310,18 @@
         </exec>
 	<echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/>
     </target>
+    
+    <target name="sf-get-utils">
+    	<stopwatch name="sf-get-utils"/>
+			<echo message="Cloning utilities repository to ${build.drive}/utilities"/>
+            <exec executable="hg">
+              <arg value="clone"/>
+              <arg value="-rdefault"/>
+              <arg value="http://developer.symbian.org/oss/MCL/utilities"/>
+              <arg value="${build.drive}/utilities"/>
+            </exec>
+    	<stopwatch name="sf-get-utils" action="elapsed"/>
+    </target>
 
     <target name="sf-getenvs">
         <stopwatch name="sf-getenvs"/>