Build HG Caching - added new variable 'sf.spec.sourcesync.cachelocation' and changed caching invocation to use it. Defaults to previous location.
authorMattD <mattd@symbian.org>
Thu, 02 Jul 2009 12:27:05 +0100
changeset 228 f1f162027366
parent 227 ab5a0930b5c8
child 229 c3aa5da4cb96
Build HG Caching - added new variable 'sf.spec.sourcesync.cachelocation' and changed caching invocation to use it. Defaults to previous location.
common/build.xml
common/common_props.ant.xml
--- a/common/build.xml	Thu Jul 02 12:18:16 2009 +0100
+++ b/common/build.xml	Thu Jul 02 12:27:05 2009 +0100
@@ -87,7 +87,7 @@
 				<echo message="Generating Hg local cache..." />
 				<exec executable="perl" dir="${build.log.dir}" failonerror="true" output="${build.log.dir}/${build.id}_hgcache.log">
 					<arg value="${sf.common.config.dir}/tools/cachefiles.pl"/>
-					<arg value="${sf.spec.job.rootdir}/hgcache"/>
+					<arg value="${sf.spec.sourcesync.cachelocation}"/>
 					<arg value="${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}"/>
 					<arg value="${sf.common.config.dir}/generated/${sf.spec.sourcesync.sourcespecfile}"/>
 				</exec>
--- a/common/common_props.ant.xml	Thu Jul 02 12:18:16 2009 +0100
+++ b/common/common_props.ant.xml	Thu Jul 02 12:27:05 2009 +0100
@@ -36,6 +36,7 @@
     <property name="sf.spec.sourcesync.enable" value="true"/>
     <property name="sf.spec.sourcesync.usecache" value="false"/>
     <property name="sf.spec.sourcesync.sourcespecfile" value="sources.csv"/>
+    <property name="sf.spec.sourcesync.cachelocation" value="${sf.spec.job.rootdir}/hgcache"/>
     
     <property name="sf.spec.baseline.enable" value="true"/>
     <property name="sf.spec.baseline.select" value="auto"/> <!-- auto|explicit|location -->