doc/api/helium/target-sf-bc-check.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-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"> &#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-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&#45;bc&#45;check" alt="" coords="157,5,259,53">
       
   171 <area shape="rect" id="node4" href="target-sf-send-testpkg.html" title="sf&#45;send&#45;testpkg" alt="" coords="309,5,437,53">
       
   172 <area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf&#45;postbuild" alt="" coords="5,5,107,53">
       
   173 <area shape="rect" id="node7" href="target-sf-find-ATS-worker-root.html" title="sf&#45;find&#45;ATS&#45;worker&#45;root" alt="" coords="683,12,867,60">
       
   174 <area shape="rect" id="node9" href="target-sf-make-junction.html" title="sf&#45;make&#45;junction" alt="" coords="497,57,631,105">
       
   175 </map>
       
   176 </p>
       
   177 <hr/>
       
   178 
       
   179 
       
   180 <h3>Source code</h3>
       
   181 <pre>
       
   182     &lt;target name=&quot;sf-bc-check&quot;&gt;
       
   183         &lt;if&gt;&lt;isset property=&quot;env.PDT_HOME&quot;/&gt;
       
   184         &lt;then&gt;
       
   185             &lt;!-- create BC dir --&gt;
       
   186             &lt;mkdir dir=&quot;${build.log.dir}/BC&quot;/&gt;
       
   187             &lt;delete file=&quot;${build.log.dir}/BC/bc.config&quot; quiet=&quot;true&quot;/&gt;
       
   188             &lt;delete file=&quot;${build.log.dir}/BC/BBCResults.xsl&quot; quiet=&quot;true&quot;/&gt;
       
   189             &lt;delete file=&quot;${build.log.dir}/BC/libraries.txt&quot; quiet=&quot;true&quot;/&gt;
       
   190             &lt;delete file=&quot;${build.log.dir}/BC/libraries_report.xml&quot; quiet=&quot;true&quot;/&gt;
       
   191             &lt;delete file=&quot;${build.log.dir}/BC/headers.txt&quot; quiet=&quot;true&quot;/&gt;
       
   192             &lt;delete file=&quot;${build.log.dir}/BC/headers_report.xml&quot; quiet=&quot;true&quot;/&gt;
       
   193 
       
   194             &lt;exec executable=&quot;cmd&quot; output=&quot;${build.log.dir}/BC/bc.config&quot; append=&quot;true&quot;&gt;
       
   195                 &lt;arg value=&quot;/c&quot;/&gt;
       
   196                 &lt;arg value=&quot;echo&quot;/&gt;
       
   197                 &lt;arg value=&quot;BASELINE_NAME=${sf.spec.bccheck.baseline.name}&quot;/&gt;
       
   198             &lt;/exec&gt;
       
   199             &lt;exec executable=&quot;cmd&quot; output=&quot;${build.log.dir}/BC/bc.config&quot; append=&quot;true&quot;&gt;
       
   200                 &lt;arg value=&quot;/c&quot;/&gt;
       
   201                 &lt;arg value=&quot;echo&quot;/&gt;
       
   202                 &lt;arg value=&quot;BASELINE_SDK_DIR=${sf.spec.bccheck.baseline.skd.dir}&quot;/&gt;
       
   203             &lt;/exec&gt;
       
   204             &lt;exec executable=&quot;cmd&quot; output=&quot;${build.log.dir}/BC/bc.config&quot; append=&quot;true&quot;&gt;
       
   205                 &lt;arg value=&quot;/c&quot;/&gt;
       
   206                 &lt;arg value=&quot;echo&quot;/&gt;
       
   207                 &lt;arg value=&quot;BASELINE_SDK_S60_VERSION=${sf.spec.bccheck.baseline.s60.version}&quot;/&gt;
       
   208             &lt;/exec&gt;
       
   209             &lt;exec executable=&quot;cmd&quot; output=&quot;${build.log.dir}/BC/bc.config&quot; append=&quot;true&quot;&gt;
       
   210                 &lt;arg value=&quot;/c&quot;/&gt;
       
   211                 &lt;arg value=&quot;echo&quot;/&gt;
       
   212                 &lt;arg value=&quot;CURRENT_NAME=${build.id}&quot;/&gt;
       
   213             &lt;/exec&gt;
       
   214             &lt;exec executable=&quot;cmd&quot; output=&quot;${build.log.dir}/BC/bc.config&quot; append=&quot;true&quot;&gt;
       
   215                 &lt;arg value=&quot;/c&quot;/&gt;
       
   216                 &lt;arg value=&quot;echo&quot;/&gt;
       
   217                 &lt;arg value=&quot;CURRENT_SDK_DIR=${build.drive}&quot;/&gt;
       
   218             &lt;/exec&gt;
       
   219             &lt;exec executable=&quot;cmd&quot; output=&quot;${build.log.dir}/BC/bc.config&quot; append=&quot;true&quot;&gt;
       
   220                 &lt;arg value=&quot;/c&quot;/&gt;
       
   221                 &lt;arg value=&quot;echo&quot;/&gt;
       
   222                 &lt;arg value=&quot;CURRENT_SDK_S60_VERSION=${sf.spec.bccheck.current.s60.version}&quot;/&gt;
       
   223             &lt;/exec&gt;
       
   224 
       
   225             &lt;copy file=&quot;${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/BBCResults.xsl&quot; tofile=&quot;${build.log.dir}/BC/BBCResults.xsl&quot; failonerror=&quot;false&quot; verbose=&quot;true&quot;/&gt;
       
   226 
       
   227             &lt;if&gt;&lt;istrue value=&quot;${sf.spec.bccheck.enable.la}&quot;/&gt;
       
   228                 &lt;then&gt;
       
   229                     &lt;exec executable=&quot;python&quot; dir=&quot;${sf.spec.pdt.root}/fts/compatibilityanalyser&quot; output=&quot;${build.log.dir}/BC/libraries.txt&quot;&gt;
       
   230                         &lt;arg value=&quot;CheckBC.py&quot;/&gt;
       
   231                         &lt;arg value=&quot;${build.log.dir}/BC/bc.config&quot;/&gt;
       
   232                         &lt;arg value=&quot;-la&quot;/&gt;
       
   233                         &lt;arg value=&quot;-f&quot;/&gt;
       
   234                         &lt;arg value=&quot;${sf.spec.bccheck.reportid}&quot;/&gt;
       
   235                     &lt;/exec&gt;
       
   236                     &lt;copy file=&quot;${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Libraries_CompatibilityReport_${sf.spec.bccheck.reportid}.xml&quot; tofile=&quot;${build.log.dir}/BC/libraries_report.xml&quot; failonerror=&quot;false&quot; verbose=&quot;true&quot;/&gt;
       
   237                 &lt;/then&gt;
       
   238             &lt;/if&gt;
       
   239 
       
   240             &lt;if&gt;&lt;istrue value=&quot;${sf.spec.bccheck.enable.ha}&quot;/&gt;
       
   241                 &lt;then&gt;
       
   242                     &lt;exec executable=&quot;python&quot; dir=&quot;${sf.spec.pdt.root}/fts/compatibilityanalyser&quot; output=&quot;${build.log.dir}/BC/headers.txt&quot;&gt;
       
   243                         &lt;arg value=&quot;CheckBC.py&quot;/&gt;
       
   244                         &lt;arg value=&quot;${build.log.dir}/BC/bc.config&quot;/&gt;
       
   245                         &lt;arg value=&quot;-ha&quot;/&gt;
       
   246                         &lt;arg value=&quot;-f&quot;/&gt;
       
   247                         &lt;arg value=&quot;${sf.spec.bccheck.reportid}&quot;/&gt;
       
   248                     &lt;/exec&gt;
       
   249                     &lt;copy file=&quot;${sf.spec.pdt.root}/fts/compatibilityanalyser/reports/Headers_CompatibilityReport_${sf.spec.bccheck.reportid}.xml&quot; tofile=&quot;${build.log.dir}/BC/headers_report.xml&quot; failonerror=&quot;false&quot; verbose=&quot;true&quot;/&gt;
       
   250                 &lt;/then&gt;
       
   251             &lt;/if&gt;
       
   252 
       
   253             &lt;if&gt;&lt;istrue value=&quot;${sf.spec.bccheck.enable.dynamic}&quot;/&gt;
       
   254                 &lt;then&gt;
       
   255                     &lt;for param=&quot;file&quot;&gt;
       
   256 						&lt;path&gt;
       
   257 							&lt;fileset dir=&quot;${sf.spec.test.package.location}/../bctest&quot; includes=&quot;*.zip&quot;/&gt;
       
   258 						&lt;/path&gt;
       
   259 						&lt;sequential&gt;
       
   260 							&lt;propertyregex override=&quot;yes&quot; property=&quot;program&quot; input=&quot;@{file}&quot; regexp=&quot;([^\\/\/]*)$&quot; select=&quot;\1&quot;/&gt;  						
       
   261                             &lt;echo message=&quot;INFO Updating bctest package with test info&quot;/&gt;
       
   262 					        &lt;echo message=&quot;************ Test drop package name:  ${program} &quot;/&gt;
       
   263                             &lt;exec executable=&quot;perl&quot; dir=&quot;${sf.common.config.dir}/tools/ats/&quot; failonerror=&quot;false&quot; append=&quot;true&quot; output=&quot;${build.log.dir}/ATS_${build.id}_dynamicbc.log&quot;&gt;
       
   264                               &lt;arg value=&quot;ats_specialise_test_drop.pl&quot;/&gt;
       
   265                               &lt;arg value=&quot;--test-drop-name=${env.COMPUTERNAME}-bctest-${build.id}_${program}&quot;/&gt; 
       
   266                               &lt;arg value=&quot;--device-name=GENERIC EMULATOR on ${env.COMPUTERNAME}&quot;/&gt;
       
   267                               &lt;arg value=&quot;--src=${sf.spec.test.package.location}/../bctest/${program}&quot;/&gt;
       
   268                               &lt;arg value=&quot;--dest=${sf.spec.test.package.location}\${env.COMPUTERNAME}-bctest-${build.id}_${program}&quot;/&gt;						 
       
   269                             &lt;/exec&gt;
       
   270                             &lt;!-- Now ready to send to ATS3 --&gt;  
       
   271 					      &lt;echo message=&quot;Sending Test drop :  ${program} ............&quot;/&gt;									
       
   272 					&lt;antcall target=&quot;sf-send-testpkg&quot; inheritAll=&quot;false&quot;&gt;
       
   273                         &lt;param name=&quot;sf.spec.test.package.name&quot; value=&quot;${env.COMPUTERNAME}-bctest-${build.id}_${program}&quot;/&gt;
       
   274                     &lt;/antcall&gt;					
       
   275 							
       
   276 						&lt;/sequential&gt;
       
   277   
       
   278 					&lt;/for&gt;
       
   279 				&lt;/then&gt;
       
   280 			&lt;/if&gt;
       
   281 		&lt;/then&gt;
       
   282         &lt;else&gt;
       
   283             &lt;echo message=&quot;WARNING: PDT_HOME not set, I dont know where the BC tools are installed so cannot continue&quot;/&gt;
       
   284         &lt;/else&gt;
       
   285 		&lt;/if&gt;	
       
   286     &lt;/target&gt;
       
   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"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>
       
   301 
       
   302   <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
       
   303     
       
   304   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
       
   305   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
       
   306   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</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 &#160;prev&#160;
       
   319 &#160;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>  &#160;
       
   322 &#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;
       
   323 
       
   324 &#160;<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