Build HG Caching - added new variable 'sf.spec.sourcesync.cachelocation' and changed caching invocation to use it. Defaults to previous location.
--- 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 -->