common/build.xml
changeset 51 6066a7d39270
parent 50 f9a55f310713
child 62 2771e394c9bd
equal deleted inserted replaced
50:f9a55f310713 51:6066a7d39270
   143         <if>
   143         <if>
   144             <istrue value="${sf.spec.sourcesync.enable}" />
   144             <istrue value="${sf.spec.sourcesync.enable}" />
   145             <then>
   145             <then>
   146                 <runtarget target="sf-get-source"/>
   146                 <runtarget target="sf-get-source"/>
   147             </then>
   147             </then>
   148         </if>     
   148         </if>
       
   149         
       
   150       <if>
       
   151         <istrue value="${sf.spec.publish.enable}"/>
       
   152         <then>
       
   153           <runtarget target="sf-diamondize-bom"/>
       
   154         </then>
       
   155       </if>
   149     </target>
   156     </target>
   150     
   157     
   151   <target name="sf-postbuild">
   158   <target name="sf-postbuild">
   152     <echo>[SF-POSTBUILD]</echo>
   159     <echo>[SF-POSTBUILD]</echo>
   153     
   160     
   220               data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','})
   227               data: csv(${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}, {separator:','})
   221         </data>
   228         </data>
   222       </fmpp>
   229       </fmpp>
   223       <ant antfile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"/>
   230       <ant antfile="${sf.common.config.dir}/generated/tag-hg-code.ant.xml"/>
   224     </target>
   231     </target>
       
   232     
       
   233     <target name="sf-diamondize-bom">
       
   234       <fmpp sourceFile="${sf.common.config.dir}/templates/build-info.xml.ftl"
       
   235             outputFile="${build.drive}/output/logs/BOM/build-info.xml">
       
   236         <data expandProperties="yes">
       
   237               ant: antProperties()
       
   238               config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]})
       
   239               project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]})
       
   240               baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim})
       
   241               sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,rev]})
       
   242               
       
   243         </data>
       
   244       </fmpp>
       
   245     </target>
   225 
   246 
   226 </project>
   247 </project>
   227 
   248 
   228 
   249