common/build.xml
changeset 473 5a04267d3fe7
parent 472 296ea0545429
child 591 0dd169f56564
child 594 3692c6f462b4
equal deleted inserted replaced
472:296ea0545429 473:5a04267d3fe7
   227         <!-- record config and project information in BOM files -->
   227         <!-- record config and project information in BOM files -->
   228         <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.repo">
   228         <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.repo">
   229             <arg value="showconfig"/>
   229             <arg value="showconfig"/>
   230             <arg value="paths.default"/>
   230             <arg value="paths.default"/>
   231         </exec>
   231         </exec>
       
   232         <propertyregex input="${sf.job.bom.config.repo}" regexp="\\" replace="/" global="true" property="sf.job.bom.config.repo" override="true"/>
   232         <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.checksum">
   233         <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.checksum">
   233             <arg value="identify"/>
   234             <arg value="identify"/>
   234             <arg value="-i"/>
   235             <arg value="-i"/>
   235         </exec>
   236         </exec>
   236         <echo message="${sf.job.bom.config.repo},sf-config,${sf.job.bom.config.checksum}" file="${build.drive}/output/logs/BOM/config.csv"/>
   237         <echo message="${sf.job.bom.config.repo},sf-config,${sf.job.bom.config.checksum}" file="${build.drive}/output/logs/BOM/config.csv"/>
   237 
   238 
   238         <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.repo">
   239         <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.repo">
   239             <arg value="showconfig"/>
   240             <arg value="showconfig"/>
   240             <arg value="paths.default"/>
   241             <arg value="paths.default"/>
   241         </exec>
   242         </exec>
       
   243         <propertyregex input="${sf.job.bom.project.repo}" regexp="\\" replace="/" global="true" property="sf.job.bom.project.repo" override="true"/>
   242         <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.checksum">
   244         <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.checksum">
   243             <arg value="identify"/>
   245             <arg value="identify"/>
   244             <arg value="-i"/>
   246             <arg value="-i"/>
   245         </exec>
   247         </exec>
   246 	<echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/>
   248 	<echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/>