doc/api/helium/target-sf-postbuild.html
author Shabe Razvi <shaber@symbian.org>
Tue, 09 Mar 2010 10:08:48 +0000
changeset 917 ebd555518364
parent 627 56a1d97e7c73
permissions -rw-r--r--
Move copying of System Model to after compile-main


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE HTML PUBLIC "-//w3c//dtd xhtml 1.0 strict//en"
      "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


<head>
    <meta name="keywords" content="helium"/>
    <meta http-equiv="content-type" content="text/html+xml; charset=iso-8859-1"/>
    <link rel="stylesheet" href="stylesheet.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:   '',
        VERSION:    '0'
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>

    <script type="text/javascript" src="../_static/interface.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    
    <title>Target sf-postbuild</title>
</head>


<body>
<!-- ========= start of top navbar ======= -->
<a name="navbar_top"><!-- --></a>
<a href="#skip-navbar_top" title="skip navigation links"></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0" summary="">
<tr>
<td colspan="2" bgcolor="#eeeeff" class="navbarcell1">
<a name="navbar_top_firstrow"><!-- --></a>
<table border="0" cellpadding="0" cellspacing="3" summary="">
  <tr align="center" valign="top">
  <td bgcolor="#ffffff" class="navbarcell1"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>

  <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
    
  <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
  <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
  <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</td>
  </tr>
</table>
</td>
<td align="right" valign="top" rowspan="3"><em>
<b>Helium API</b></em>

</td>
</tr>

<tr>
<td bgcolor="white" class="navbarcell2"><font size="-2">
&#160;prev&#160;
&#160;next</font></td>
<td bgcolor="white" class="navbarcell2"><font size="-2">
  <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>  &#160;
&#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;

&#160;<script type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>');
  }
  //-->
</script>
<noscript>
  <a href="allclasses-noframe.html"><b>all classes</b></a>
</noscript>


</font></td>
</tr>
</table>
<a name="skip-navbar_top"></a>
<!-- ========= end of top navbar ========= -->
    <hr/>


    
<h2>Target sf-postbuild</h2>

<p><b>Location</b></p>
<p>    <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.postbuild.xml#L3">d:\maintools\sf-config\common\build.postbuild.xml:3:</a></tt>  
</p>

<p><b>Conditional execution</b></p>        
<p>No conditions on target execution.</p>
<hr/>

<h3>Description</h3>
<p>
</p>
<p/>
<hr/>




<h3>Property dependencies</h3>


<p> 
<table class="docutils" width="50%">
    <tr>
        <th class="head">Name</th><th class="head">Edit status</th>
    </tr>
    <tr>
        <td colspan="2">User editable properties</td>
    </tr>
    <tr>
        <td colspan="2">Internal properties</td>
    </tr>
</table>
</p>

<hr/>


<h3>Target dependencies</h3>
<p align="center">
<img src="target-sf-postbuild.dot.png" alt="sf-postbuild dependencies" usemap="#dependencies"
     style="border-style: none"/>
<map name="dependencies" id="dependencies">
<area shape="rect" id="node1" href="target-sf-postbuild.html" title="sf&#45;postbuild" alt="" coords="197,653,299,701">
<area shape="rect" id="node12" href="target-sf-tag-hg-code.html" title="sf&#45;tag&#45;hg&#45;code" alt="" coords="396,5,519,53">
<area shape="rect" id="node14" href="target-sf-run-evalid.html" title="sf&#45;run&#45;evalid" alt="" coords="405,77,509,125">
<area shape="rect" id="node16" href="target-sf-package-binary.html" title="sf&#45;package&#45;binary" alt="" coords="384,149,531,197">
<area shape="rect" id="node29" href="target-sf-package-tools.html" title="sf&#45;package&#45;tools" alt="" coords="664,211,800,259">
<area shape="rect" id="node34" href="target-sf-package-validate.html" title="sf&#45;package&#45;validate" alt="" coords="379,499,536,547">
<area shape="rect" id="node36" href="target-sf-run-analysis.html" title="sf&#45;run&#45;analysis" alt="" coords="397,571,517,619">
<area shape="rect" id="node74" href="target-sf-compare-to-baseline.html" title="sf&#45;compare&#45;to&#45;baseline" alt="" coords="367,767,548,815">
<area shape="rect" id="node82" href="target-sf-build-smoketestpkg.html" title="sf&#45;build&#45;smoketestpkg" alt="" coords="371,839,544,887">
<area shape="rect" id="node88" href="target-sf-send-testpkg.html" title="sf&#45;send&#45;testpkg" alt="" coords="668,1003,796,1051">
<area shape="rect" id="node97" href="target-sf-bc-check.html" title="sf&#45;bc&#45;check" alt="" coords="407,977,508,1025">
<area shape="rect" id="node104" href="target-sf-zip-logs.html" title="sf&#45;zip&#45;logs" alt="" coords="412,1049,503,1097">
<area shape="rect" id="node106" href="target-sf-publish.html" title="sf&#45;publish" alt="" coords="413,1121,501,1169">
<area shape="rect" id="node2" href="target-sf-build-all.html" title="sf&#45;build&#45;all" alt="" coords="31,545,121,593">
<area shape="rect" id="node4" href="target-sf-build-and-pack.html" title="sf&#45;build&#45;and&#45;pack" alt="" coords="5,617,147,665">
<area shape="rect" id="node6" href="target-sf-build.html" title="sf&#45;build" alt="" coords="40,689,112,737">
<area shape="rect" id="node8" href="target-sf-build-noprep.html" title="sf&#45;build&#45;noprep" alt="" coords="13,761,139,809">
<area shape="rect" id="node18" href="target-sf-preprocess-package-config.html" title="sf&#45;preprocess&#45;package&#45;config" alt="" coords="923,45,1152,93">
<area shape="rect" id="node20" href="target-sf-package-postbuild-rnd.html" title="sf&#45;package&#45;postbuild&#45;rnd" alt="" coords="635,72,829,120">
<area shape="rect" id="node23" href="target-sf-zip-content.html" title="sf&#45;zip&#45;content" alt="" coords="981,139,1093,187">
<area shape="rect" id="node24" href="target-preprocess-zip-config.html" title="preprocess&#45;zip&#45;config" alt="" coords="1227,139,1397,187">
<area shape="rect" id="node38" href="target-sf-run-analysis-ant.html" title="sf&#45;run&#45;analysis&#45;ant" alt="" coords="659,283,805,331">
<area shape="rect" id="node40" href="target-sf-run-analysis-raptor.html" title="sf&#45;run&#45;analysis&#45;raptor" alt="" coords="649,355,815,403">
<area shape="rect" id="node42" href="target-sf-run-analysis-yarp.html" title="sf&#45;run&#45;analysis&#45;yarp" alt="" coords="655,427,809,475">
<area shape="rect" id="node44" href="target-sf-run-analysis-whatlog-summary.html" title="sf&#45;run&#45;analysis&#45;whatlog&#45;summary" alt="" coords="609,499,855,547">
<area shape="rect" id="node56" href="target-sf-run-analysis-missing-files.html" title="sf&#45;run&#45;analysis&#45;missing&#45;files" alt="" coords="627,571,837,619">
<area shape="rect" id="node70" href="target-sf-run-analysis-diamonds.html" title="sf&#45;run&#45;analysis&#45;diamonds" alt="" coords="635,643,829,691">
<area shape="rect" id="node72" href="target-sf-brag-to-diamonds.html" title="sf&#45;brag&#45;to&#45;diamonds" alt="" coords="651,715,813,763">
<area shape="rect" id="node46" href="target-sf-run-analysis-list.html" title="sf&#45;run&#45;analysis&#45;list" alt="" coords="965,283,1109,331">
<area shape="rect" id="node48" href="target-sf-run-analysis-whatlog.html" title="sf&#45;run&#45;analysis&#45;whatlog" alt="" coords="948,355,1127,403">
<area shape="rect" id="node50" href="target-sf-run-analysis-whatlog-merge.html" title="sf&#45;run&#45;analysis&#45;whatlog&#45;merge" alt="" coords="924,427,1151,475">
<area shape="rect" id="node52" href="target-sf-run-analysis-whatlog-package.html" title="sf&#45;run&#45;analysis&#45;whatlog&#45;package" alt="" coords="916,499,1159,547">
<area shape="rect" id="node54" href="target-sf-run-analysis-whatlog-collisons.html" title="sf&#45;run&#45;analysis&#45;whatlog&#45;collisons" alt="" coords="916,571,1159,619">
<area shape="rect" id="node58" href="target-sf-check-missing-os-files.html" title="sf&#45;check&#45;missing&#45;os&#45;files" alt="" coords="941,643,1133,691">
<area shape="rect" id="node63" href="target-sf-check-missing-s60-files.html" title="sf&#45;check&#45;missing&#45;s60&#45;files" alt="" coords="936,715,1139,763">
<area shape="rect" id="node76" href="target-sf-diamondize-bom.html" title="sf&#45;diamondize&#45;bom" alt="" coords="655,787,809,835">
<area shape="rect" id="node80" href="target-sf-check-utilities-dir.html" title="sf&#45;check&#45;utilities&#45;dir" alt="" coords="655,859,809,907">
<area shape="rect" id="node77" href="target-sf-record-proj-conf-bom.html" title="sf&#45;record&#45;proj&#45;conf&#45;bom" alt="" coords="945,787,1129,835">
<area shape="rect" id="node83" href="target-sf-getenv-tools.html" title="sf&#45;getenv&#45;tools" alt="" coords="671,931,793,979">
<area shape="rect" id="node85" href="target-preparation-getenv.html" title="preparation&#45;getenv" alt="" coords="961,897,1113,945">
<area shape="rect" id="node90" href="target-sf-start-ats.html" title="sf&#45;start&#45;ats" alt="" coords="991,969,1084,1017">
<area shape="rect" id="node92" href="target-sf-find-ATS-worker-root.html" title="sf&#45;find&#45;ATS&#45;worker&#45;root" alt="" coords="1220,1061,1404,1109">
<area shape="rect" id="node94" href="target-sf-make-junction.html" title="sf&#45;make&#45;junction" alt="" coords="971,1108,1104,1156">
<area shape="rect" id="node107" href="target-prep-publish.html" title="prep&#45;publish" alt="" coords="679,1121,785,1169">
</map>
</p>
<hr/>


<h3>Source code</h3>
<pre>
    &lt;target name=&quot;sf-postbuild&quot;&gt;
        &lt;echo&gt;[SF-POSTBUILD]&lt;/echo&gt;
        &lt;parallel&gt;                
            &lt;!-- TAG SOURCE CODE --&gt;
            &lt;if&gt;
                &lt;istrue value=&quot;${sf.spec.tagafterbuild.enable}&quot;/&gt;
                &lt;then&gt;
                    &lt;echo message=&quot;Apply tag to the source code used in this build&quot;/&gt;
                    &lt;runtarget target=&quot;sf-tag-hg-code&quot;/&gt;
                &lt;/then&gt;
            &lt;/if&gt;
            
            &lt;!-- Create MD5s --&gt;
            &lt;if&gt;
                &lt;istrue value=&quot;${sf.spec.md5.enable}&quot;/&gt;
                &lt;then&gt;
                    &lt;echo message=&quot;INFO Creating MD5s&quot;/&gt;
                    &lt;runtarget target=&quot;sf-run-evalid&quot;/&gt;
                &lt;/then&gt;
            &lt;/if&gt;
            
            &lt;!-- Package up the binaries we built --&gt;
            &lt;if&gt;
                &lt;istrue value=&quot;${sf.spec.package.bin.enable}&quot;/&gt;
                &lt;then&gt;
                    &lt;echo message=&quot;INFO Packaging Binaries&quot;/&gt;
                    &lt;runtarget target=&quot;sf-package-binary&quot;/&gt;
                    &lt;runtarget target=&quot;sf-package-tools&quot;/&gt;
    
                    &lt;echo message=&quot;INFO Validate Zip files&quot;/&gt;
                    &lt;runtarget target=&quot;sf-package-validate&quot;/&gt;
                &lt;/then&gt;
            &lt;/if&gt;
            
            &lt;!-- run build analysis tools --&gt;
            &lt;runtarget target=&quot;sf-run-analysis&quot;/&gt;
        
            &lt;if&gt;
              &lt;istrue value=&quot;${sf.spec.publish.enable}&quot;/&gt;
              &lt;then&gt;
                &lt;!-- Generate reports to compare this build to a previous one --&gt;
                &lt;runtarget target=&quot;sf-compare-to-baseline&quot;/&gt;
              &lt;/then&gt;
            &lt;/if&gt;
        &lt;/parallel&gt;
        
        &lt;!-- Launch smoketest --&gt;
        &lt;if&gt;&lt;istrue value=&quot;${sf.spec.test.sendpkg.enable}&quot;/&gt;
            &lt;then&gt;
                &lt;runtarget target=&quot;sf-build-smoketestpkg&quot;/&gt;
                &lt;runtarget target=&quot;sf-send-testpkg&quot;/&gt;
            &lt;/then&gt;
        &lt;/if&gt;

        &lt;!-- Launch BC check --&gt;
        &lt;if&gt;&lt;istrue value=&quot;${sf.spec.bccheck.enable}&quot;/&gt;
            &lt;then&gt;
                &lt;runtarget target=&quot;sf-bc-check&quot;/&gt;
            &lt;/then&gt;
        &lt;/if&gt;

        &lt;!-- Zip up all the logs --&gt;
        &lt;runtarget target=&quot;sf-zip-logs&quot;/&gt;

        &lt;!-- Publish logs/reports --&gt;
        &lt;if&gt;
            &lt;istrue value=&quot;${sf.spec.publish.enable}&quot;/&gt;
            &lt;then&gt;
                &lt;echo message=&quot;Publish log files and reports to ${sf.spec.publish.rootdir}&quot;/&gt;
                &lt;runtarget target=&quot;sf-publish&quot;/&gt;
            &lt;/then&gt;
        &lt;/if&gt;
    &lt;/target&gt;
</pre>


    <hr/>
<!-- ========= start of top navbar ======= -->
<a name="navbar_top"><!-- --></a>
<a href="#skip-navbar_top" title="skip navigation links"></a>
<table border="0" width="100%" cellpadding="1" cellspacing="0" summary="">
<tr>
<td colspan="2" bgcolor="#eeeeff" class="navbarcell1">
<a name="navbar_top_firstrow"><!-- --></a>
<table border="0" cellpadding="0" cellspacing="3" summary="">
  <tr align="center" valign="top">
  <td bgcolor="#ffffff" class="navbarcell1"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>

  <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
    
  <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
  <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
  <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</td>
  </tr>
</table>
</td>
<td align="right" valign="top" rowspan="3"><em>
<b>Helium API</b></em>

</td>
</tr>

<tr>
<td bgcolor="white" class="navbarcell2"><font size="-2">
&#160;prev&#160;
&#160;next</font></td>
<td bgcolor="white" class="navbarcell2"><font size="-2">
  <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>  &#160;
&#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;

&#160;<script type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>');
  }
  //-->
</script>
<noscript>
  <a href="allclasses-noframe.html"><b>all classes</b></a>
</noscript>


</font></td>
</tr>
</table>
<a name="skip-navbar_top"></a>
<!-- ========= end of top navbar ========= -->
    <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>
 </body>

</html>