121 <h3>Target dependencies</h3> |
121 <h3>Target dependencies</h3> |
122 <p align="center"> |
122 <p align="center"> |
123 <img src="target-sf-postbuild.dot.png" alt="sf-postbuild dependencies" usemap="#dependencies" |
123 <img src="target-sf-postbuild.dot.png" alt="sf-postbuild dependencies" usemap="#dependencies" |
124 style="border-style: none"/> |
124 style="border-style: none"/> |
125 <map name="dependencies" id="dependencies"> |
125 <map name="dependencies" id="dependencies"> |
126 <area shape="rect" id="node1" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="197,395,299,443"> |
126 <area shape="rect" id="node1" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="197,653,299,701"> |
127 <area shape="rect" id="node12" href="target-sf-tag-hg-code.html" title="sf-tag-hg-code" alt="" coords="392,56,515,104"> |
127 <area shape="rect" id="node12" href="target-sf-tag-hg-code.html" title="sf-tag-hg-code" alt="" coords="396,5,519,53"> |
128 <area shape="rect" id="node14" href="target-sf-run-evalid.html" title="sf-run-evalid" alt="" coords="401,128,505,176"> |
128 <area shape="rect" id="node14" href="target-sf-run-evalid.html" title="sf-run-evalid" alt="" coords="405,77,509,125"> |
129 <area shape="rect" id="node16" href="target-sf-package-binary.html" title="sf-package-binary" alt="" coords="380,200,527,248"> |
129 <area shape="rect" id="node16" href="target-sf-package-binary.html" title="sf-package-binary" alt="" coords="384,149,531,197"> |
130 <area shape="rect" id="node23" href="target-sf-package-tools.html" title="sf-package-tools" alt="" coords="567,161,703,209"> |
130 <area shape="rect" id="node29" href="target-sf-package-tools.html" title="sf-package-tools" alt="" coords="664,211,800,259"> |
131 <area shape="rect" id="node26" href="target-sf-package-validate.html" title="sf-package-validate" alt="" coords="375,323,532,371"> |
131 <area shape="rect" id="node34" href="target-sf-package-validate.html" title="sf-package-validate" alt="" coords="379,499,536,547"> |
132 <area shape="rect" id="node28" href="target-sf-run-analysis.html" title="sf-run-analysis" alt="" coords="393,395,513,443"> |
132 <area shape="rect" id="node36" href="target-sf-run-analysis.html" title="sf-run-analysis" alt="" coords="397,571,517,619"> |
133 <area shape="rect" id="node50" href="target-sf-build-smoketestpkg.html" title="sf-build-smoketestpkg" alt="" coords="367,467,540,515"> |
133 <area shape="rect" id="node74" href="target-sf-compare-to-baseline.html" title="sf-compare-to-baseline" alt="" coords="367,767,548,815"> |
134 <area shape="rect" id="node56" href="target-sf-send-testpkg.html" title="sf-send-testpkg" alt="" coords="788,661,916,709"> |
134 <area shape="rect" id="node82" href="target-sf-build-smoketestpkg.html" title="sf-build-smoketestpkg" alt="" coords="371,839,544,887"> |
135 <area shape="rect" id="node63" href="target-sf-zip-logs.html" title="sf-zip-logs" alt="" coords="408,605,499,653"> |
135 <area shape="rect" id="node88" href="target-sf-send-testpkg.html" title="sf-send-testpkg" alt="" coords="668,1003,796,1051"> |
136 <area shape="rect" id="node65" href="target-sf-bc-check.html" title="sf-bc-check" alt="" coords="403,677,504,725"> |
136 <area shape="rect" id="node97" href="target-sf-bc-check.html" title="sf-bc-check" alt="" coords="407,977,508,1025"> |
137 <area shape="rect" id="node71" href="target-sf-publish.html" title="sf-publish" alt="" coords="409,749,497,797"> |
137 <area shape="rect" id="node104" href="target-sf-zip-logs.html" title="sf-zip-logs" alt="" coords="412,1049,503,1097"> |
138 <area shape="rect" id="node2" href="target-sf-build-all.html" title="sf-build-all" alt="" coords="31,287,121,335"> |
138 <area shape="rect" id="node106" href="target-sf-publish.html" title="sf-publish" alt="" coords="413,1121,501,1169"> |
139 <area shape="rect" id="node4" href="target-sf-build-and-pack.html" title="sf-build-and-pack" alt="" coords="5,359,147,407"> |
139 <area shape="rect" id="node2" href="target-sf-build-all.html" title="sf-build-all" alt="" coords="31,545,121,593"> |
140 <area shape="rect" id="node6" href="target-sf-build.html" title="sf-build" alt="" coords="40,431,112,479"> |
140 <area shape="rect" id="node4" href="target-sf-build-and-pack.html" title="sf-build-and-pack" alt="" coords="5,617,147,665"> |
141 <area shape="rect" id="node8" href="target-sf-build-noprep.html" title="sf-build-noprep" alt="" coords="13,503,139,551"> |
141 <area shape="rect" id="node6" href="target-sf-build.html" title="sf-build" alt="" coords="40,689,112,737"> |
142 <area shape="rect" id="node18" href="target-sf-preprocess-package-config.html" title="sf-preprocess-package-config" alt="" coords="1043,95,1272,143"> |
142 <area shape="rect" id="node8" href="target-sf-build-noprep.html" title="sf-build-noprep" alt="" coords="13,761,139,809"> |
143 <area shape="rect" id="node20" href="target-sf-package-postbuild-rnd.html" title="sf-package-postbuild-rnd" alt="" coords="755,95,949,143"> |
143 <area shape="rect" id="node18" href="target-sf-preprocess-package-config.html" title="sf-preprocess-package-config" alt="" coords="923,45,1152,93"> |
144 <area shape="rect" id="node30" href="target-sf-run-analysis-ant.html" title="sf-run-analysis-ant" alt="" coords="779,217,925,265"> |
144 <area shape="rect" id="node20" href="target-sf-package-postbuild-rnd.html" title="sf-package-postbuild-rnd" alt="" coords="635,72,829,120"> |
145 <area shape="rect" id="node32" href="target-sf-run-analysis-raptor.html" title="sf-run-analysis-raptor" alt="" coords="769,289,935,337"> |
145 <area shape="rect" id="node23" href="target-sf-zip-content.html" title="sf-zip-content" alt="" coords="981,139,1093,187"> |
146 <area shape="rect" id="node34" href="target-sf-run-analysis-yarp.html" title="sf-run-analysis-yarp" alt="" coords="775,361,929,409"> |
146 <area shape="rect" id="node24" href="target-preprocess-zip-config.html" title="preprocess-zip-config" alt="" coords="1227,139,1397,187"> |
147 <area shape="rect" id="node36" href="target-sf-run-analysis-whatlog-summary.html" title="sf-run-analysis-whatlog-summary" alt="" coords="729,433,975,481"> |
147 <area shape="rect" id="node38" href="target-sf-run-analysis-ant.html" title="sf-run-analysis-ant" alt="" coords="659,283,805,331"> |
148 <area shape="rect" id="node48" href="target-sf-run-analysis-diamonds.html" title="sf-run-analysis-diamonds" alt="" coords="755,505,949,553"> |
148 <area shape="rect" id="node40" href="target-sf-run-analysis-raptor.html" title="sf-run-analysis-raptor" alt="" coords="649,355,815,403"> |
149 <area shape="rect" id="node38" href="target-sf-run-analysis-list.html" title="sf-run-analysis-list" alt="" coords="1085,225,1229,273"> |
149 <area shape="rect" id="node42" href="target-sf-run-analysis-yarp.html" title="sf-run-analysis-yarp" alt="" coords="655,427,809,475"> |
150 <area shape="rect" id="node40" href="target-sf-run-analysis-whatlog.html" title="sf-run-analysis-whatlog" alt="" coords="1068,297,1247,345"> |
150 <area shape="rect" id="node44" href="target-sf-run-analysis-whatlog-summary.html" title="sf-run-analysis-whatlog-summary" alt="" coords="609,499,855,547"> |
151 <area shape="rect" id="node42" href="target-sf-run-analysis-whatlog-merge.html" title="sf-run-analysis-whatlog-merge" alt="" coords="1044,369,1271,417"> |
151 <area shape="rect" id="node56" href="target-sf-run-analysis-missing-files.html" title="sf-run-analysis-missing-files" alt="" coords="627,571,837,619"> |
152 <area shape="rect" id="node44" href="target-sf-run-analysis-whatlog-package.html" title="sf-run-analysis-whatlog-package" alt="" coords="1036,441,1279,489"> |
152 <area shape="rect" id="node70" href="target-sf-run-analysis-diamonds.html" title="sf-run-analysis-diamonds" alt="" coords="635,643,829,691"> |
153 <area shape="rect" id="node46" href="target-sf-run-analysis-whatlog-collisons.html" title="sf-run-analysis-whatlog-collisons" alt="" coords="1036,513,1279,561"> |
153 <area shape="rect" id="node72" href="target-sf-brag-to-diamonds.html" title="sf-brag-to-diamonds" alt="" coords="651,715,813,763"> |
154 <area shape="rect" id="node51" href="target-sf-getenv-tools.html" title="sf-getenv-tools" alt="" coords="791,581,913,629"> |
154 <area shape="rect" id="node46" href="target-sf-run-analysis-list.html" title="sf-run-analysis-list" alt="" coords="965,283,1109,331"> |
155 <area shape="rect" id="node53" href="target-preparation-getenv.html" title="preparation-getenv" alt="" coords="1081,585,1233,633"> |
155 <area shape="rect" id="node48" href="target-sf-run-analysis-whatlog.html" title="sf-run-analysis-whatlog" alt="" coords="948,355,1127,403"> |
156 <area shape="rect" id="node58" href="target-sf-find-ATS-worker-root.html" title="sf-find-ATS-worker-root" alt="" coords="1331,685,1515,733"> |
156 <area shape="rect" id="node50" href="target-sf-run-analysis-whatlog-merge.html" title="sf-run-analysis-whatlog-merge" alt="" coords="924,427,1151,475"> |
157 <area shape="rect" id="node60" href="target-sf-make-junction.html" title="sf-make-junction" alt="" coords="1091,731,1224,779"> |
157 <area shape="rect" id="node52" href="target-sf-run-analysis-whatlog-package.html" title="sf-run-analysis-whatlog-package" alt="" coords="916,499,1159,547"> |
158 <area shape="rect" id="node72" href="target-prep-publish.html" title="prep-publish" alt="" coords="799,749,905,797"> |
158 <area shape="rect" id="node54" href="target-sf-run-analysis-whatlog-collisons.html" title="sf-run-analysis-whatlog-collisons" alt="" coords="916,571,1159,619"> |
|
159 <area shape="rect" id="node58" href="target-sf-check-missing-os-files.html" title="sf-check-missing-os-files" alt="" coords="941,643,1133,691"> |
|
160 <area shape="rect" id="node63" href="target-sf-check-missing-s60-files.html" title="sf-check-missing-s60-files" alt="" coords="936,715,1139,763"> |
|
161 <area shape="rect" id="node76" href="target-sf-diamondize-bom.html" title="sf-diamondize-bom" alt="" coords="655,787,809,835"> |
|
162 <area shape="rect" id="node80" href="target-sf-check-utilities-dir.html" title="sf-check-utilities-dir" alt="" coords="655,859,809,907"> |
|
163 <area shape="rect" id="node77" href="target-sf-record-proj-conf-bom.html" title="sf-record-proj-conf-bom" alt="" coords="945,787,1129,835"> |
|
164 <area shape="rect" id="node83" href="target-sf-getenv-tools.html" title="sf-getenv-tools" alt="" coords="671,931,793,979"> |
|
165 <area shape="rect" id="node85" href="target-preparation-getenv.html" title="preparation-getenv" alt="" coords="961,897,1113,945"> |
|
166 <area shape="rect" id="node90" href="target-sf-start-ats.html" title="sf-start-ats" alt="" coords="991,969,1084,1017"> |
|
167 <area shape="rect" id="node92" href="target-sf-find-ATS-worker-root.html" title="sf-find-ATS-worker-root" alt="" coords="1220,1061,1404,1109"> |
|
168 <area shape="rect" id="node94" href="target-sf-make-junction.html" title="sf-make-junction" alt="" coords="971,1108,1104,1156"> |
|
169 <area shape="rect" id="node107" href="target-prep-publish.html" title="prep-publish" alt="" coords="679,1121,785,1169"> |
159 </map> |
170 </map> |
160 </p> |
171 </p> |
161 <hr/> |
172 <hr/> |
162 |
173 |
163 |
174 |
164 <h3>Source code</h3> |
175 <h3>Source code</h3> |
165 <pre> |
176 <pre> |
166 <target name="sf-postbuild"> |
177 <target name="sf-postbuild"> |
167 <echo>[SF-POSTBUILD]</echo> |
178 <echo>[SF-POSTBUILD]</echo> |
168 <parallel> |
179 <parallel> |
169 <!-- TAG SOURCE CODE --> |
180 <!-- TAG SOURCE CODE --> |
170 <if> |
181 <if> |
171 <istrue value="${sf.spec.tagafterbuild.enable}"/> |
182 <istrue value="${sf.spec.tagafterbuild.enable}"/> |
172 <then> |
183 <then> |
173 <echo message="Apply tag to the source code used in this build"/> |
184 <echo message="Apply tag to the source code used in this build"/> |
174 <runtarget target="sf-tag-hg-code"/> |
185 <runtarget target="sf-tag-hg-code"/> |
175 </then> |
186 </then> |
176 </if> |
187 </if> |
|
188 |
|
189 <!-- Create MD5s --> |
|
190 <if> |
|
191 <istrue value="${sf.spec.md5.enable}"/> |
|
192 <then> |
|
193 <echo message="INFO Creating MD5s"/> |
|
194 <runtarget target="sf-run-evalid"/> |
|
195 </then> |
|
196 </if> |
|
197 |
|
198 <!-- Package up the binaries we built --> |
|
199 <if> |
|
200 <istrue value="${sf.spec.package.bin.enable}"/> |
|
201 <then> |
|
202 <echo message="INFO Packaging Binaries"/> |
|
203 <runtarget target="sf-package-binary"/> |
|
204 <runtarget target="sf-package-tools"/> |
|
205 |
|
206 <echo message="INFO Validate Zip files"/> |
|
207 <runtarget target="sf-package-validate"/> |
|
208 </then> |
|
209 </if> |
|
210 |
|
211 <!-- run build analysis tools --> |
|
212 <runtarget target="sf-run-analysis"/> |
177 |
213 |
178 <if> |
214 <if> |
179 <istrue value="${sf.spec.md5.enable}"/> |
215 <istrue value="${sf.spec.publish.enable}"/> |
180 <then> |
216 <then> |
181 <echo message="INFO Creating MD5s"/> |
217 <!-- Generate reports to compare this build to a previous one --> |
182 <runtarget target="sf-run-evalid"/> |
218 <runtarget target="sf-compare-to-baseline"/> |
183 </then> |
219 </then> |
184 </if> |
220 </if> |
185 <if> |
|
186 <istrue value="${sf.spec.package.bin.enable}"/> |
|
187 <then> |
|
188 <echo message="INFO Packaging Binaries"/> |
|
189 <runtarget target="sf-package-binary"/> |
|
190 <runtarget target="sf-package-tools"/> |
|
191 |
|
192 <echo message="INFO Validate Zip files"/> |
|
193 <runtarget target="sf-package-validate"/> |
|
194 </then> |
|
195 </if> |
|
196 <!-- run build analysis tools --> |
|
197 <runtarget target="sf-run-analysis"/> |
|
198 |
|
199 </parallel> |
221 </parallel> |
200 |
222 |
|
223 <!-- Launch smoketest --> |
201 <if><istrue value="${sf.spec.test.sendpkg.enable}"/> |
224 <if><istrue value="${sf.spec.test.sendpkg.enable}"/> |
202 <then> |
225 <then> |
203 <runtarget target="sf-build-smoketestpkg"/> |
226 <runtarget target="sf-build-smoketestpkg"/> |
204 <runtarget target="sf-send-testpkg"/> |
227 <runtarget target="sf-send-testpkg"/> |
205 </then> |
228 </then> |
206 </if> |
229 </if> |
207 |
230 |
208 |
231 <!-- Launch BC check --> |
209 <runtarget target="sf-zip-logs"/> |
|
210 |
|
211 <!-- Do BC check --> |
|
212 <if><istrue value="${sf.spec.bccheck.enable}"/> |
232 <if><istrue value="${sf.spec.bccheck.enable}"/> |
213 <then> |
233 <then> |
214 <runtarget target="sf-bc-check"/> |
234 <runtarget target="sf-bc-check"/> |
215 </then> |
235 </then> |
216 </if> |
236 </if> |
217 |
237 |
218 <!-- PUBLISH LOGS/REPORTS --> |
238 <!-- Zip up all the logs --> |
|
239 <runtarget target="sf-zip-logs"/> |
|
240 |
|
241 <!-- Publish logs/reports --> |
219 <if> |
242 <if> |
220 <istrue value="${sf.spec.publish.enable}"/> |
243 <istrue value="${sf.spec.publish.enable}"/> |
221 <then> |
244 <then> |
222 <echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/> |
245 <echo message="Publish log files and reports to ${sf.spec.publish.rootdir}"/> |
223 <runtarget target="sf-publish"/> |
246 <runtarget target="sf-publish"/> |