408 <target name="sf-get-source" depends="sf-generate-source-spec"> |
408 <target name="sf-get-source" depends="sf-generate-source-spec"> |
409 <ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
409 <ant antfile="${sf.common.config.dir}/generated/source-spec.ant.xml" /> |
410 </target> |
410 </target> |
411 |
411 |
412 <target name="sf-diamondize-bom" depends="sf-record-proj-conf-bom"> |
412 <target name="sf-diamondize-bom" depends="sf-record-proj-conf-bom"> |
413 <if> |
413 <fmpp sourceFile="${sf.common.config.dir}/templates/build-info.xml.ftl" |
414 <istrue value="${sf.spec.publish.enable}"/> |
414 outputFile="${build.drive}/output/logs/sf-diamondize-bom.xml"> |
415 <then> |
415 <data expandProperties="yes"> |
416 <fmpp sourceFile="${sf.common.config.dir}/templates/build-info.xml.ftl" |
416 ant: antProperties() |
417 outputFile="${build.drive}/output/logs/sf-diamondize-bom.xml"> |
417 config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]}) |
418 <data expandProperties="yes"> |
418 project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]}) |
419 ant: antProperties() |
419 baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim}) |
420 config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]}) |
420 toolsbaseline: slicedText(${build.drive}/output/logs/BOM/toolsbaseline.txt,{trim}) |
421 project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]}) |
421 sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,type,rev,sysdef]}) |
422 baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim}) |
422 </data> |
423 toolsbaseline: slicedText(${build.drive}/output/logs/BOM/toolsbaseline.txt,{trim}) |
423 </fmpp> |
424 sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,type,rev,sysdef]}) |
424 <!-- Make a copy in BOM dir --> |
425 </data> |
425 <copy file="${build.drive}/output/logs/sf-diamondize-bom.xml" tofile="${build.log.dir}/BOM/build-info.xml"/> |
426 </fmpp> |
|
427 <!-- Make a copy in BOM dir --> |
|
428 <copy file="${build.drive}/output/logs/sf-diamondize-bom.xml" tofile="${build.log.dir}/BOM/build-info.xml"/> |
|
429 </then> |
|
430 </if> |
|
431 </target> |
426 </target> |
432 |
427 |
433 <target name="sf-preprocess-package-config"> |
428 <target name="sf-preprocess-package-config"> |
434 <mkdir dir="${sf.common.config.dir}/generated"/> |
429 <mkdir dir="${sf.common.config.dir}/generated"/> |
435 <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log"> |
430 <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log"> |