common/build.xml
changeset 308 d00601cbf754
parent 300 228efacd68af
child 309 8b5fb484a920
equal deleted inserted replaced
307:989c70555820 308:d00601cbf754
    83 
    83 
    84         <!-- Generate the sources.csv if hg cache is activated -->
    84         <!-- Generate the sources.csv if hg cache is activated -->
    85         <if><istrue value="${sf.spec.sourcesync.usecache}"/>
    85         <if><istrue value="${sf.spec.sourcesync.usecache}"/>
    86             <then>
    86             <then>
    87                 <echo message="Generating Hg local cache..." />
    87                 <echo message="Generating Hg local cache..." />
       
    88                 <mkdir dir="${sf.common.config.dir}/generated"/>
    88                 <exec executable="perl" dir="${build.log.dir}" failonerror="true" output="${build.log.dir}/${build.id}_hgcache.log">
    89                 <exec executable="perl" dir="${build.log.dir}" failonerror="true" output="${build.log.dir}/${build.id}_hgcache.log">
    89                     <arg value="${sf.common.config.dir}/tools/cachefiles.pl"/>
    90                     <arg value="${sf.common.config.dir}/tools/cachefiles.pl"/>
    90                     <arg value="${sf.spec.sourcesync.cachelocation}"/>
    91                     <arg value="${sf.spec.sourcesync.cachelocation}"/>
    91                     <arg value="${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}"/>
    92                     <arg value="${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}"/>
    92                     <arg value="${sf.common.config.dir}/generated/${sf.spec.sourcesync.sourcespecfile}"/>
    93                     <arg value="${sf.common.config.dir}/generated/${sf.spec.sourcesync.sourcespecfile}"/>