|
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-run-analysis-raptor</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-run-analysis-raptor</h2> |
|
83 |
|
84 <p><b>Location</b></p> |
|
85 <p> <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.postbuild.xml#L294">D:\maintools\sf-config\common\build.postbuild.xml:294:</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> |
|
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>perl</td> |
|
107 </tr> |
|
108 <tr> |
|
109 <td>perl</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td>perl</td> |
|
113 </tr> |
|
114 <tr> |
|
115 <td>perl</td> |
|
116 </tr> |
|
117 <tr> |
|
118 <td>perl</td> |
|
119 </tr> |
|
120 </table> |
|
121 </p> |
|
122 |
|
123 |
|
124 <h3>Property dependencies</h3> |
|
125 |
|
126 |
|
127 <p> |
|
128 <table class="docutils" width="50%"> |
|
129 <tr> |
|
130 <th class="head">Name</th><th class="head">Edit status</th> |
|
131 </tr> |
|
132 <tr> |
|
133 <td colspan="2">User editable properties</td> |
|
134 </tr> |
|
135 <tr> |
|
136 <td colspan="2">Internal properties</td> |
|
137 </tr> |
|
138 <tr> |
|
139 <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> |
|
140 </tr> |
|
141 <tr> |
|
142 <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> |
|
143 </tr> |
|
144 </table> |
|
145 </p> |
|
146 |
|
147 <hr/> |
|
148 |
|
149 |
|
150 <h3>Target dependencies</h3> |
|
151 <p align="center"> |
|
152 <img src="target-sf-run-analysis-raptor.dot.png" alt="sf-run-analysis-raptor dependencies" usemap="#dependencies" |
|
153 style="border-style: none"/> |
|
154 <map name="dependencies" id="dependencies"> |
|
155 <area shape="rect" id="node1" href="target-sf-run-analysis-raptor.html" title="sf-run-analysis-raptor" alt="" coords="175,5,340,53"> |
|
156 <area shape="rect" id="node2" href="target-sf-run-analysis.html" title="sf-run-analysis" alt="" coords="5,5,125,53"> |
|
157 </map> |
|
158 </p> |
|
159 <hr/> |
|
160 |
|
161 |
|
162 <h3>Source code</h3> |
|
163 <pre> |
|
164 <target name="sf-run-analysis-raptor"> |
|
165 <echo message="Preprocessing *_compile.log files"/> |
|
166 <for param="logfile"> |
|
167 <path> |
|
168 <fileset dir="${build.log.dir}"> |
|
169 <include name="*_compile.log"/> |
|
170 <exclude name="*build_check_compile.log"/> |
|
171 </fileset> |
|
172 </path> |
|
173 <sequential> |
|
174 <propertyregex override="yes" property="preprocessedlogfile" input="@{logfile}" regexp=".*[\\/](.*)_compile\.log" replace="\1_compile_preprocessed.log"/> |
|
175 <echo message="Preprocessing @{logfile}..."/> |
|
176 <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" input="@{logfile}" output="${build.log.dir}/analysis/${preprocessedlogfile}" error="${build.log.dir}/analysis/${build.id}_preprocess.log" append="true"> |
|
177 <arg value="${sf.common.config.dir}/tools/raptor/preprocess_log.pl"/> |
|
178 </exec> |
|
179 </sequential> |
|
180 </for> |
|
181 |
|
182 <echo message="Extracting whatlog information from *whatlog*_compile_preprocessed.log files"/> |
|
183 <for param="whatlogfile"> |
|
184 <path> |
|
185 <fileset dir="${build.log.dir}/analysis"> |
|
186 <include name="*whatlog*_compile_preprocessed.log"/> |
|
187 </fileset> |
|
188 </path> |
|
189 <sequential> |
|
190 <echo message="Extracting whatlog info from @{whatlogfile}..."/> |
|
191 <echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/parse.pl --releaseable --log=@{whatlogfile} --basedir=${build.log.dir} --append"/> |
|
192 <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_whatlog.log" append="true"> |
|
193 <arg value="${sf.common.config.dir}/tools/raptor/parse.pl"/> |
|
194 <arg value="--releaseable"/> |
|
195 <arg value="--log=@{whatlogfile}"/> |
|
196 <arg value="--basedir=${build.log.dir}"/> |
|
197 <arg value="--append"/> |
|
198 </exec> |
|
199 </sequential> |
|
200 </for> |
|
201 |
|
202 <echo message="Extracting error information from *_compile_preprocessed.log files"/> |
|
203 <for param="raptorlogfile"> |
|
204 <path> |
|
205 <fileset dir="${build.log.dir}/analysis"> |
|
206 <include name="*_compile_preprocessed.log"/> |
|
207 </fileset> |
|
208 </path> |
|
209 <sequential> |
|
210 <echo message="Extracting error info from @{raptorlogfile}..."/> |
|
211 <propertyregex override="yes" property="raptorconfig" input="@{raptorlogfile}" regexp=".*[\\/].*__(.*)\.whatlog_(single|multiple)_thread.*" replace="\1" casesensitive="false" defaultValue="noconfig"/> |
|
212 <echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/parse.pl --error --warning --unreciped --recipe --config=${raptorconfig} --log=@{raptorlogfile} --basedir=${build.log.dir}/raptorbits --append"/> |
|
213 <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.log" append="true"> |
|
214 <arg value="${sf.common.config.dir}/tools/raptor/parse.pl"/> |
|
215 <arg value="--error"/> |
|
216 <arg value="--warning"/> |
|
217 <arg value="--unreciped"/> |
|
218 <arg value="--recipe"/> |
|
219 <arg value="--config=${raptorconfig}"/> |
|
220 <arg value="--log=@{raptorlogfile}"/> |
|
221 <arg value="--basedir=${build.log.dir}/raptorbits"/> |
|
222 <arg value="--append"/> |
|
223 </exec> |
|
224 </sequential> |
|
225 </for> |
|
226 |
|
227 <echo message="Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/summarize.pl --raptorbitsdir=${build.log.dir}/raptorbits --outputdir=${build.log.dir}"/> |
|
228 <exec executable="perl" dir="${sf.common.config.dir}/tools/raptor" failonerror="false" output="${build.log.dir}/analysis/${build.id}_raptorparse.log" append="true"> |
|
229 <arg value="${sf.common.config.dir}/tools/raptor/summarize.pl"/> |
|
230 <arg value="--raptorbitsdir=${build.log.dir}/raptorbits"/> |
|
231 <arg value="--outputdir=${build.log.dir}"/> |
|
232 </exec> |
|
233 |
|
234 <!-- Now iterate through the generated TSVs to sort them and remove duplicates --> |
|
235 <for param="tsv"> |
|
236 <path> |
|
237 <fileset dir="${build.log.dir}"> |
|
238 <include name="releaseables/**/*.tsv"/> |
|
239 </fileset> |
|
240 </path> |
|
241 <sequential> |
|
242 <exec executable="perl" input="@{tsv}" output="@{tsv}"> |
|
243 <arg value="${sf.common.config.dir}/tools/sortUnique.pl"/> |
|
244 </exec> |
|
245 </sequential> |
|
246 </for> |
|
247 </target> |
|
248 </pre> |
|
249 |
|
250 |
|
251 <hr/> |
|
252 <!-- ========= start of top navbar ======= --> |
|
253 <a name="navbar_top"><!-- --></a> |
|
254 <a href="#skip-navbar_top" title="skip navigation links"></a> |
|
255 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary=""> |
|
256 <tr> |
|
257 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1"> |
|
258 <a name="navbar_top_firstrow"><!-- --></a> |
|
259 <table border="0" cellpadding="0" cellspacing="3" summary=""> |
|
260 <tr align="center" valign="top"> |
|
261 <td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td> |
|
262 |
|
263 <td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td> |
|
264 |
|
265 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> |
|
266 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td> |
|
267 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td> |
|
268 </tr> |
|
269 </table> |
|
270 </td> |
|
271 <td align="right" valign="top" rowspan="3"><em> |
|
272 <b>Helium API</b></em> |
|
273 |
|
274 </td> |
|
275 </tr> |
|
276 |
|
277 <tr> |
|
278 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
279  prev  |
|
280  next</font></td> |
|
281 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
282 <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>   |
|
283  <a href="overview-summary.html" target="_top"><b>no frames</b></a>   |
|
284 |
|
285  <script type="text/javascript"> |
|
286 <!-- |
|
287 if(window==top) { |
|
288 document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>'); |
|
289 } |
|
290 //--> |
|
291 </script> |
|
292 <noscript> |
|
293 <a href="allclasses-noframe.html"><b>all classes</b></a> |
|
294 </noscript> |
|
295 |
|
296 |
|
297 </font></td> |
|
298 </tr> |
|
299 </table> |
|
300 <a name="skip-navbar_top"></a> |
|
301 <!-- ========= end of top navbar ========= --> |
|
302 <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> |
|
303 </body> |
|
304 |
|
305 </html> |
|
306 |
|
307 |