doc/api/helium/target-sf-run-analysis-raptor.html
changeset 432 f2ddfa555b0f
child 627 56a1d97e7c73
equal deleted inserted replaced
431:7685cec9fd3c 432:f2ddfa555b0f
       
     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"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>
       
    38 
       
    39   <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
       
    40     
       
    41   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
       
    42   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
       
    43   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</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 &#160;prev&#160;
       
    56 &#160;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>  &#160;
       
    59 &#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;
       
    60 
       
    61 &#160;<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&#45;run&#45;analysis&#45;raptor" alt="" coords="175,5,340,53">
       
   156 <area shape="rect" id="node2" href="target-sf-run-analysis.html" title="sf&#45;run&#45;analysis" alt="" coords="5,5,125,53">
       
   157 </map>
       
   158 </p>
       
   159 <hr/>
       
   160 
       
   161 
       
   162 <h3>Source code</h3>
       
   163 <pre>
       
   164     &lt;target name=&quot;sf-run-analysis-raptor&quot;&gt;            
       
   165       &lt;echo message=&quot;Preprocessing *_compile.log files&quot;/&gt;
       
   166       &lt;for param=&quot;logfile&quot;&gt;
       
   167         &lt;path&gt;
       
   168           &lt;fileset dir=&quot;${build.log.dir}&quot;&gt;
       
   169             &lt;include name=&quot;*_compile.log&quot;/&gt;
       
   170             &lt;exclude name=&quot;*build_check_compile.log&quot;/&gt;
       
   171           &lt;/fileset&gt;
       
   172         &lt;/path&gt;
       
   173         &lt;sequential&gt;
       
   174 		  &lt;propertyregex override=&quot;yes&quot; property=&quot;preprocessedlogfile&quot; input=&quot;@{logfile}&quot; regexp=&quot;.*[\\/](.*)_compile\.log&quot; replace=&quot;\1_compile_preprocessed.log&quot;/&gt;
       
   175 	      &lt;echo message=&quot;Preprocessing @{logfile}...&quot;/&gt;
       
   176           &lt;exec executable=&quot;perl&quot; dir=&quot;${sf.common.config.dir}/tools/raptor&quot; failonerror=&quot;false&quot; input=&quot;@{logfile}&quot; output=&quot;${build.log.dir}/analysis/${preprocessedlogfile}&quot; error=&quot;${build.log.dir}/analysis/${build.id}_preprocess.log&quot; append=&quot;true&quot;&gt;
       
   177             &lt;arg value=&quot;${sf.common.config.dir}/tools/raptor/preprocess_log.pl&quot;/&gt;
       
   178           &lt;/exec&gt;
       
   179         &lt;/sequential&gt;
       
   180       &lt;/for&gt;
       
   181       
       
   182       &lt;echo message=&quot;Extracting whatlog information from *whatlog*_compile_preprocessed.log files&quot;/&gt;
       
   183       &lt;for param=&quot;whatlogfile&quot;&gt;
       
   184         &lt;path&gt;
       
   185           &lt;fileset dir=&quot;${build.log.dir}/analysis&quot;&gt;
       
   186             &lt;include name=&quot;*whatlog*_compile_preprocessed.log&quot;/&gt;
       
   187           &lt;/fileset&gt;
       
   188         &lt;/path&gt;
       
   189         &lt;sequential&gt;
       
   190           &lt;echo message=&quot;Extracting whatlog info from @{whatlogfile}...&quot;/&gt;
       
   191           &lt;echo message=&quot;Exec: [${sf.common.config.dir}/tools/raptor] perl ${sf.common.config.dir}/tools/raptor/parse.pl --releaseable --log=@{whatlogfile} --basedir=${build.log.dir} --append&quot;/&gt;
       
   192           &lt;exec executable=&quot;perl&quot; dir=&quot;${sf.common.config.dir}/tools/raptor&quot; failonerror=&quot;false&quot; output=&quot;${build.log.dir}/analysis/${build.id}_whatlog.log&quot; append=&quot;true&quot;&gt;
       
   193             &lt;arg value=&quot;${sf.common.config.dir}/tools/raptor/parse.pl&quot;/&gt;
       
   194             &lt;arg value=&quot;--releaseable&quot;/&gt;
       
   195             &lt;arg value=&quot;--log=@{whatlogfile}&quot;/&gt;
       
   196             &lt;arg value=&quot;--basedir=${build.log.dir}&quot;/&gt;
       
   197             &lt;arg value=&quot;--append&quot;/&gt;
       
   198           &lt;/exec&gt;
       
   199         &lt;/sequential&gt;
       
   200       &lt;/for&gt;
       
   201       
       
   202       &lt;echo message=&quot;Extracting error information from *_compile_preprocessed.log files&quot;/&gt;
       
   203       &lt;for param=&quot;raptorlogfile&quot;&gt;
       
   204         &lt;path&gt;
       
   205           &lt;fileset dir=&quot;${build.log.dir}/analysis&quot;&gt;
       
   206             &lt;include name=&quot;*_compile_preprocessed.log&quot;/&gt;
       
   207           &lt;/fileset&gt;
       
   208         &lt;/path&gt;
       
   209         &lt;sequential&gt;
       
   210           &lt;echo message=&quot;Extracting error info from @{raptorlogfile}...&quot;/&gt;
       
   211           &lt;propertyregex override=&quot;yes&quot; property=&quot;raptorconfig&quot; input=&quot;@{raptorlogfile}&quot; regexp=&quot;.*[\\/].*__(.*)\.whatlog_(single|multiple)_thread.*&quot; replace=&quot;\1&quot; casesensitive=&quot;false&quot; defaultValue=&quot;noconfig&quot;/&gt;
       
   212           &lt;echo message=&quot;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&quot;/&gt;
       
   213           &lt;exec executable=&quot;perl&quot; dir=&quot;${sf.common.config.dir}/tools/raptor&quot; failonerror=&quot;false&quot; output=&quot;${build.log.dir}/analysis/${build.id}_raptorparse.log&quot; append=&quot;true&quot;&gt;
       
   214             &lt;arg value=&quot;${sf.common.config.dir}/tools/raptor/parse.pl&quot;/&gt;
       
   215             &lt;arg value=&quot;--error&quot;/&gt;
       
   216             &lt;arg value=&quot;--warning&quot;/&gt;
       
   217             &lt;arg value=&quot;--unreciped&quot;/&gt;
       
   218             &lt;arg value=&quot;--recipe&quot;/&gt;
       
   219             &lt;arg value=&quot;--config=${raptorconfig}&quot;/&gt;
       
   220             &lt;arg value=&quot;--log=@{raptorlogfile}&quot;/&gt;
       
   221             &lt;arg value=&quot;--basedir=${build.log.dir}/raptorbits&quot;/&gt;
       
   222             &lt;arg value=&quot;--append&quot;/&gt;
       
   223           &lt;/exec&gt;
       
   224         &lt;/sequential&gt;
       
   225       &lt;/for&gt;
       
   226       
       
   227       &lt;echo message=&quot;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}&quot;/&gt;
       
   228       &lt;exec executable=&quot;perl&quot; dir=&quot;${sf.common.config.dir}/tools/raptor&quot; failonerror=&quot;false&quot; output=&quot;${build.log.dir}/analysis/${build.id}_raptorparse.log&quot; append=&quot;true&quot;&gt;
       
   229         &lt;arg value=&quot;${sf.common.config.dir}/tools/raptor/summarize.pl&quot;/&gt;
       
   230         &lt;arg value=&quot;--raptorbitsdir=${build.log.dir}/raptorbits&quot;/&gt;
       
   231         &lt;arg value=&quot;--outputdir=${build.log.dir}&quot;/&gt;
       
   232       &lt;/exec&gt;
       
   233           
       
   234       &lt;!-- Now iterate through the generated TSVs to sort them and remove duplicates --&gt;
       
   235       &lt;for param=&quot;tsv&quot;&gt;
       
   236         &lt;path&gt;
       
   237           &lt;fileset dir=&quot;${build.log.dir}&quot;&gt;
       
   238             &lt;include name=&quot;releaseables/**/*.tsv&quot;/&gt;
       
   239           &lt;/fileset&gt;
       
   240         &lt;/path&gt;
       
   241         &lt;sequential&gt;
       
   242           &lt;exec executable=&quot;perl&quot; input=&quot;@{tsv}&quot; output=&quot;@{tsv}&quot;&gt;
       
   243             &lt;arg value=&quot;${sf.common.config.dir}/tools/sortUnique.pl&quot;/&gt;
       
   244           &lt;/exec&gt;
       
   245         &lt;/sequential&gt;
       
   246       &lt;/for&gt;
       
   247     &lt;/target&gt;
       
   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"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>
       
   262 
       
   263   <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
       
   264     
       
   265   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
       
   266   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
       
   267   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</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 &#160;prev&#160;
       
   280 &#160;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>  &#160;
       
   283 &#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;
       
   284 
       
   285 &#160;<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