127 <h3>Target dependencies</h3> |
127 <h3>Target dependencies</h3> |
128 <p align="center"> |
128 <p align="center"> |
129 <img src="target-sf-diamondize-bom.dot.png" alt="sf-diamondize-bom dependencies" usemap="#dependencies" |
129 <img src="target-sf-diamondize-bom.dot.png" alt="sf-diamondize-bom dependencies" usemap="#dependencies" |
130 style="border-style: none"/> |
130 style="border-style: none"/> |
131 <map name="dependencies" id="dependencies"> |
131 <map name="dependencies" id="dependencies"> |
132 <area shape="rect" id="node1" href="target-sf-diamondize-bom.html" title="sf-diamondize-bom" alt="" coords="204,5,359,53"> |
132 <area shape="rect" id="node1" href="target-sf-diamondize-bom.html" title="sf-diamondize-bom" alt="" coords="239,41,393,89"> |
133 <area shape="rect" id="node2" href="target-sf-prebuild-noprep.html" title="sf-prebuild-noprep" alt="" coords="7,5,153,53"> |
133 <area shape="rect" id="node6" href="target-sf-record-proj-conf-bom.html" title="sf-record-proj-conf-bom" alt="" coords="443,41,627,89"> |
|
134 <area shape="rect" id="node2" href="target-sf-prebuild-noprep.html" title="sf-prebuild-noprep" alt="" coords="24,5,171,53"> |
|
135 <area shape="rect" id="node4" href="target-sf-compare-to-baseline.html" title="sf-compare-to-baseline" alt="" coords="7,77,188,125"> |
134 </map> |
136 </map> |
135 </p> |
137 </p> |
136 <hr/> |
138 <hr/> |
137 |
139 |
138 |
140 |
139 <h3>Source code</h3> |
141 <h3>Source code</h3> |
140 <pre> |
142 <pre> |
141 <target name="sf-diamondize-bom"> |
143 <target name="sf-diamondize-bom" depends="sf-record-proj-conf-bom"> |
142 <if> |
144 <fmpp sourceFile="${sf.common.config.dir}/templates/build-info.xml.ftl" outputFile="${build.drive}/output/logs/sf-diamondize-bom.xml"> |
143 <istrue value="${sf.spec.publish.enable}"/> |
145 <data expandProperties="yes"> |
144 <then> |
146 ant: antProperties() |
145 <fmpp sourceFile="${sf.common.config.dir}/templates/build-info.xml.ftl" outputFile="${build.drive}/output/logs/sf-diamondize-bom.xml"> |
147 config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]}) |
146 <data expandProperties="yes"> |
148 project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]}) |
147 ant: antProperties() |
149 baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim}) |
148 config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]}) |
150 toolsbaseline: slicedText(${build.drive}/output/logs/BOM/toolsbaseline.txt,{trim}) |
149 project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]}) |
151 sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,type,rev,sysdef]}) |
150 baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim}) |
152 </data> |
151 toolsbaseline: slicedText(${build.drive}/output/logs/BOM/toolsbaseline.txt,{trim}) |
153 </fmpp> |
152 sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,type,rev,sysdef]}) |
154 <!-- Make a copy in BOM dir --> |
153 </data> |
155 <copy file="${build.drive}/output/logs/sf-diamondize-bom.xml" tofile="${build.log.dir}/BOM/build-info.xml"/> |
154 </fmpp> |
|
155 <!-- Make a copy in BOM dir --> |
|
156 <copy file="${build.drive}/output/logs/sf-diamondize-bom.xml" tofile="${build.log.dir}/BOM/build-info.xml"/> |
|
157 </then> |
|
158 </if> |
|
159 </target> |
156 </target> |
160 </pre> |
157 </pre> |
161 |
158 |
162 |
159 |
163 <hr/> |
160 <hr/> |