|
1 |
|
2 <?xml version="1.0" encoding="utf-8"?> |
|
3 <!DOCTYPE HTML PUBLIC "-//w3c//dtd xhtml 1.0 strict//en" |
|
4 "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 |
|
7 |
|
8 <head> |
|
9 <meta name="keywords" content="helium"/> |
|
10 <meta http-equiv="content-type" content="text/html+xml; charset=iso-8859-1"/> |
|
11 <link rel="stylesheet" href="stylesheet.css" type="text/css" /> |
|
12 <script type="text/javascript"> |
|
13 var DOCUMENTATION_OPTIONS = { |
|
14 URL_ROOT: '', |
|
15 VERSION: '0' |
|
16 }; |
|
17 </script> |
|
18 <script type="text/javascript" src="../_static/jquery.js"></script> |
|
19 |
|
20 <script type="text/javascript" src="../_static/interface.js"></script> |
|
21 <script type="text/javascript" src="../_static/doctools.js"></script> |
|
22 |
|
23 <title>Target sf-bc-check</title> |
|
24 </head> |
|
25 |
|
26 |
|
27 <body> |
|
28 <!-- ========= start of top navbar ======= --> |
|
29 <a name="navbar_top"><!-- --></a> |
|
30 <a href="#skip-navbar_top" title="skip navigation links"></a> |
|
31 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary=""> |
|
32 <tr> |
|
33 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1"> |
|
34 <a name="navbar_top_firstrow"><!-- --></a> |
|
35 <table border="0" cellpadding="0" cellspacing="3" summary=""> |
|
36 <tr align="center" valign="top"> |
|
37 <td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td> |
|
38 |
|
39 <td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td> |
|
40 |
|
41 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> |
|
42 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td> |
|
43 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td> |
|
44 </tr> |
|
45 </table> |
|
46 </td> |
|
47 <td align="right" valign="top" rowspan="3"><em> |
|
48 <b>Helium API</b></em> |
|
49 |
|
50 </td> |
|
51 </tr> |
|
52 |
|
53 <tr> |
|
54 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
55  prev  |
|
56  next</font></td> |
|
57 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
58 <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>   |
|
59  <a href="overview-summary.html" target="_top"><b>no frames</b></a>   |
|
60 |
|
61  <script type="text/javascript"> |
|
62 <!-- |
|
63 if(window==top) { |
|
64 document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>'); |
|
65 } |
|
66 //--> |
|
67 </script> |
|
68 <noscript> |
|
69 <a href="allclasses-noframe.html"><b>all classes</b></a> |
|
70 </noscript> |
|
71 |
|
72 |
|
73 </font></td> |
|
74 </tr> |
|
75 </table> |
|
76 <a name="skip-navbar_top"></a> |
|
77 <!-- ========= end of top navbar ========= --> |
|
78 <hr/> |
|
79 |
|
80 |
|
81 |
|
82 <h2>Target sf-bc-check</h2> |
|
83 |
|
84 <p><b>Location</b></p> |
|
85 <p> <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.test.xml#L31">D:\maintools\sf-config\common\build.test.xml:31:</a></tt> |
|
86 </p> |
|
87 |
|
88 <p><b>Conditional execution</b></p> |
|
89 <p>No conditions on target execution.</p> |
|
90 <hr/> |
|
91 |
|
92 <h3>Description</h3> |
|
93 <p> |
|
94 <p>static and dynamic BC Test target</p></p> |
|
95 <p/> |
|
96 <hr/> |
|
97 |
|
98 |
|
99 <h3>Target external Dependency</h3> |
|
100 <p> |
|
101 <table class="docutils" width="50%"> |
|
102 <tr> |
|
103 <th class="head">Name</th> |
|
104 </tr> |
|
105 <tr> |
|
106 <td>cmd</td> |
|
107 </tr> |
|
108 <tr> |
|
109 <td>cmd</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td>cmd</td> |
|
113 </tr> |
|
114 <tr> |
|
115 <td>cmd</td> |
|
116 </tr> |
|
117 <tr> |
|
118 <td>cmd</td> |
|
119 </tr> |
|
120 <tr> |
|
121 <td>cmd</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td>perl</td> |
|
125 </tr> |
|
126 <tr> |
|
127 <td>python</td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td>python</td> |
|
131 </tr> |
|
132 </table> |
|
133 </p> |
|
134 |
|
135 |
|
136 <h3>Property dependencies</h3> |
|
137 |
|
138 |
|
139 <p> |
|
140 <table class="docutils" width="50%"> |
|
141 <tr> |
|
142 <th class="head">Name</th><th class="head">Edit status</th> |
|
143 </tr> |
|
144 <tr> |
|
145 <td colspan="2">User editable properties</td> |
|
146 </tr> |
|
147 <tr> |
|
148 <td><a href="property-build.drive.html" title="<p>Substed drive where the build is performed. if not defined then helium should search next available build drive letter and subst autometically</p>" target="classframe"><tt class="docutils literal">build.drive</tt></a></td><td><a href="help.html" title="Help" target="classframe">recommended</a></td> |
|
149 </tr> |
|
150 <tr> |
|
151 <td colspan="2">Internal properties</td> |
|
152 </tr> |
|
153 <tr> |
|
154 <td><a href="property-build.id.html" title="<p>A unique ID for the build.</p>" target="classframe"><tt class="docutils literal">build.id</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td> |
|
155 </tr> |
|
156 <tr> |
|
157 <td><a href="property-build.log.dir.html" title="<p>This is where the build logs are stored.</p>" target="classframe"><tt class="docutils literal">build.log.dir</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td> |
|
158 </tr> |
|
159 </table> |
|
160 </p> |
|
161 |
|
162 <hr/> |
|
163 |
|
164 |
|
165 <h3>Target dependencies</h3> |
|
166 <p align="center"> |
|
167 <img src="target-sf-bc-check.dot.png" alt="sf-bc-check dependencies" usemap="#dependencies" |
|
168 style="border-style: none"/> |
|
169 <map name="dependencies" id="dependencies"> |
|
170 <area shape="rect" id="node1" href="target-sf-bc-check.html" title="sf-bc-check" alt="" coords="157,5,259,53"> |
|
171 <area shape="rect" id="node4" href="target-sf-send-testpkg.html" title="sf-send-testpkg" alt="" coords="309,5,437,53"> |
|
172 <area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="5,5,107,53"> |
|
173 <area shape="rect" id="node7" href="target-sf-find-ATS-worker-root.html" title="sf-find-ATS-worker-root" alt="" coords="683,12,867,60"> |
|
174 <area shape="rect" id="node9" href="target-sf-make-junction.html" title="sf-make-junction" alt="" coords="497,57,631,105"> |
|
175 </map> |
|
176 </p> |
|
177 <hr/> |
|
178 |
|
179 |
|
180 <h3>Source code</h3> |
|
181 <pre> |
|
182 <target name="sf-bc-check"> |
|
183 <if><isset property="env.PDT_HOME"/> |
|
184 <then> |
|
185 <!-- create BC dir --> |
|
186 <mkdir dir="${build.log.dir}/BC"/> |
|
187 <delete file="${build.log.dir}/BC/bc.config" quiet="true"/> |
|
188 <delete file="${build.log.dir}/BC/BBCResults.xsl" quiet="true"/> |
|
189 <delete file="${build.log.dir}/BC/libraries.txt" quiet="true"/> |
|
190 <delete file="${build.log.dir}/BC/libraries_report.xml" quiet="true"/> |
|
191 <delete file="${build.log.dir}/BC/headers.txt" quiet="true"/> |
|
192 <delete file="${build.log.dir}/BC/headers_report.xml" quiet="true"/> |
|
193 |
|
194 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
|
195 <arg value="/c"/> |
|
196 <arg value="echo"/> |
|
197 <arg value="BASELINE_NAME=${sf.spec.bccheck.baseline.name}"/> |
|
198 </exec> |
|
199 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
|
200 <arg value="/c"/> |
|
201 <arg value="echo"/> |
|
202 <arg value="BASELINE_SDK_DIR=${sf.spec.bccheck.baseline.skd.dir}"/> |
|
203 </exec> |
|
204 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
|
205 <arg value="/c"/> |
|
206 <arg value="echo"/> |
|
207 <arg value="BASELINE_SDK_S60_VERSION=${sf.spec.bccheck.baseline.s60.version}"/> |
|
208 </exec> |
|
209 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
|
210 <arg value="/c"/> |
|
211 <arg value="echo"/> |
|
212 <arg value="CURRENT_NAME=${build.id}"/> |
|
213 </exec> |
|
214 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
|
215 <arg value="/c"/> |
|
216 <arg value="echo"/> |
|
217 <arg value="CURRENT_SDK_DIR=${build.drive}"/> |
|
218 </exec> |
|
219 <exec executable="cmd" output="${build.log.dir}/BC/bc.config" append="true"> |
|
220 <arg value="/c"/> |
|
221 <arg value="echo"/> |
|
222 <arg value="CURRENT_SDK_S60_VERSION=${sf.spec.bccheck.current.s60.version}"/> |
|
223 </exec> |
|
224 |
|
225 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/BBCResults.xsl" tofile="${build.log.dir}/BC/BBCResults.xsl" failonerror="false" verbose="true"/> |
|
226 |
|
227 <if><istrue value="${sf.spec.bccheck.enable.la}"/> |
|
228 <then> |
|
229 <exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/libraries.txt"> |
|
230 <arg value="CheckBC.py"/> |
|
231 <arg value="${build.log.dir}/BC/bc.config"/> |
|
232 <arg value="-la"/> |
|
233 <arg value="-f"/> |
|
234 <arg value="${sf.spec.bccheck.reportid}"/> |
|
235 </exec> |
|
236 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Libraries_CompatibilityReport_${sf.spec.bccheck.reportid}.xml" tofile="${build.log.dir}/BC/libraries_report.xml" failonerror="false" verbose="true"/> |
|
237 </then> |
|
238 </if> |
|
239 |
|
240 <if><istrue value="${sf.spec.bccheck.enable.ha}"/> |
|
241 <then> |
|
242 <exec executable="python" dir="${sf.spec.pdt.root}/fts/compatibilityanalyser" output="${build.log.dir}/BC/headers.txt"> |
|
243 <arg value="CheckBC.py"/> |
|
244 <arg value="${build.log.dir}/BC/bc.config"/> |
|
245 <arg value="-ha"/> |
|
246 <arg value="-f"/> |
|
247 <arg value="${sf.spec.bccheck.reportid}"/> |
|
248 </exec> |
|
249 <copy file="${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Headers_CompatibilityReport_${sf.spec.bccheck.reportid}.xml" tofile="${build.log.dir}/BC/headers_report.xml" failonerror="false" verbose="true"/> |
|
250 </then> |
|
251 </if> |
|
252 |
|
253 <if><istrue value="${sf.spec.bccheck.enable.dynamic}"/> |
|
254 <then> |
|
255 <for param="file"> |
|
256 <path> |
|
257 <fileset dir="${sf.spec.test.package.location}/../bctest" includes="*.zip"/> |
|
258 </path> |
|
259 <sequential> |
|
260 <propertyregex override="yes" property="program" input="@{file}" regexp="([^\\/\/]*)$" select="\1"/> |
|
261 <echo message="INFO Updating bctest package with test info"/> |
|
262 <echo message="************ Test drop package name: ${program} "/> |
|
263 <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_dynamicbc.log"> |
|
264 <arg value="ats_specialise_test_drop.pl"/> |
|
265 <arg value="--test-drop-name=${env.COMPUTERNAME}-bctest-${build.id}_${program}"/> |
|
266 <arg value="--device-name=GENERIC EMULATOR on ${env.COMPUTERNAME}"/> |
|
267 <arg value="--src=${sf.spec.test.package.location}/../bctest/${program}"/> |
|
268 <arg value="--dest=${sf.spec.test.package.location}\${env.COMPUTERNAME}-bctest-${build.id}_${program}"/> |
|
269 </exec> |
|
270 <!-- Now ready to send to ATS3 --> |
|
271 <echo message="Sending Test drop : ${program} ............"/> |
|
272 <antcall target="sf-send-testpkg" inheritAll="false"> |
|
273 <param name="sf.spec.test.package.name" value="${env.COMPUTERNAME}-bctest-${build.id}_${program}"/> |
|
274 </antcall> |
|
275 |
|
276 </sequential> |
|
277 |
|
278 </for> |
|
279 </then> |
|
280 </if> |
|
281 </then> |
|
282 <else> |
|
283 <echo message="WARNING: PDT_HOME not set, I dont know where the BC tools are installed so cannot continue"/> |
|
284 </else> |
|
285 </if> |
|
286 </target> |
|
287 </pre> |
|
288 |
|
289 |
|
290 <hr/> |
|
291 <!-- ========= start of top navbar ======= --> |
|
292 <a name="navbar_top"><!-- --></a> |
|
293 <a href="#skip-navbar_top" title="skip navigation links"></a> |
|
294 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary=""> |
|
295 <tr> |
|
296 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1"> |
|
297 <a name="navbar_top_firstrow"><!-- --></a> |
|
298 <table border="0" cellpadding="0" cellspacing="3" summary=""> |
|
299 <tr align="center" valign="top"> |
|
300 <td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td> |
|
301 |
|
302 <td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td> |
|
303 |
|
304 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> |
|
305 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td> |
|
306 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td> |
|
307 </tr> |
|
308 </table> |
|
309 </td> |
|
310 <td align="right" valign="top" rowspan="3"><em> |
|
311 <b>Helium API</b></em> |
|
312 |
|
313 </td> |
|
314 </tr> |
|
315 |
|
316 <tr> |
|
317 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
318  prev  |
|
319  next</font></td> |
|
320 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
321 <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>   |
|
322  <a href="overview-summary.html" target="_top"><b>no frames</b></a>   |
|
323 |
|
324  <script type="text/javascript"> |
|
325 <!-- |
|
326 if(window==top) { |
|
327 document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>'); |
|
328 } |
|
329 //--> |
|
330 </script> |
|
331 <noscript> |
|
332 <a href="allclasses-noframe.html"><b>all classes</b></a> |
|
333 </noscript> |
|
334 |
|
335 |
|
336 </font></td> |
|
337 </tr> |
|
338 </table> |
|
339 <a name="skip-navbar_top"></a> |
|
340 <!-- ========= end of top navbar ========= --> |
|
341 <font size="-2">Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html</font> |
|
342 </body> |
|
343 |
|
344 </html> |
|
345 |
|
346 |