common/build.xml
changeset 1117 0006ed4e0b6d
parent 1113 488afbbbaebd
child 1127 67268c5a3e6d
equal deleted inserted replaced
1116:029af3c09d9d 1117:0006ed4e0b6d
   674         <!-- Make a copy in BOM dir -->
   674         <!-- Make a copy in BOM dir -->
   675         <copy file="${build.drive}/output/logs/sf-diamondize-bom.xml" tofile="${build.log.dir}/BOM/build-info.xml"/>
   675         <copy file="${build.drive}/output/logs/sf-diamondize-bom.xml" tofile="${build.log.dir}/BOM/build-info.xml"/>
   676     </target>
   676     </target>
   677 
   677 
   678     <target name="sf-preprocess-package-config">
   678     <target name="sf-preprocess-package-config">
       
   679 	<!-- preprocess by stripping the header of the rnd source and concat with sources.csv -->
       
   680     <loadfile srcfile="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile.rnd}" property="rnd.source.no.header" failonerror="false">
       
   681     <filterchain>
       
   682       <headfilter skip="1"/>
       
   683     </filterchain>
       
   684     </loadfile>
       
   685     <echo message="${rnd.source.no.header}" file="${temp.build.dir}/sources_rnd_no_header.csv"/>
       
   686     
       
   687     <!-- order is important as the rnd source now has no header -->
       
   688     <concat destfile="${temp.build.dir}/sources.csv" force="yes">
       
   689        <file file="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
       
   690        <file file="${temp.build.dir}/sources_rnd_no_header.csv"/>
       
   691     </concat>
       
   692 
   679     <echo message="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
   693     <echo message="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
   680         <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log">
   694         <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log">
   681             <arg value="${sf.common.config.dir}/tools/populateziptemplate.pl"/>
   695             <arg value="${sf.common.config.dir}/tools/populateziptemplate.pl"/>
   682             <arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
   696             <arg value="${temp.build.dir}/sources.csv"/>
   683             <arg value="${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template"/>
   697             <arg value="${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template"/>
   684             <arg value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   698             <arg value="${temp.build.dir}/zip.cfg.xml.ftl"/>
   685             <arg value="${build.log.dir}/rnd_excludefile.txt"/>
   699             <arg value="${build.log.dir}/rnd_excludefile.txt"/>
   686         </exec>
   700         </exec>
   687         <antcall target="sf-log-to-brag">
   701         <antcall target="sf-log-to-brag">