doc/api/helium/target-sf-zip-logs.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-zip-logs</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-zip-logs</h2>
       
    83 
       
    84 <p><b>Location</b></p>
       
    85 <p>    <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.postbuild.xml#L480">D:\maintools\sf-config\common\build.postbuild.xml:480:</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>package all logs into zipfile before publish</p></p>
       
    95 <p/>
       
    96 <hr/>
       
    97 
       
    98 
       
    99 
       
   100 
       
   101 <h3>Property dependencies</h3>
       
   102 
       
   103 
       
   104 <p> 
       
   105 <table class="docutils" width="50%">
       
   106     <tr>
       
   107         <th class="head">Name</th><th class="head">Edit status</th>
       
   108     </tr>
       
   109     <tr>
       
   110         <td colspan="2">User editable properties</td>
       
   111     </tr>
       
   112                     <tr>
       
   113                         <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>
       
   114                     </tr>
       
   115     <tr>
       
   116         <td colspan="2">Internal properties</td>
       
   117     </tr>
       
   118                     <tr>
       
   119                         <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>
       
   120                     </tr>
       
   121                     <tr>
       
   122                         <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>
       
   123                     </tr>
       
   124 </table>
       
   125 </p>
       
   126 
       
   127 <hr/>
       
   128 
       
   129 
       
   130 <h3>Target dependencies</h3>
       
   131 <p align="center">
       
   132 <img src="target-sf-zip-logs.dot.png" alt="sf-zip-logs dependencies" usemap="#dependencies"
       
   133      style="border-style: none"/>
       
   134 <map name="dependencies" id="dependencies">
       
   135 <area shape="rect" id="node1" href="target-sf-zip-logs.html" title="sf&#45;zip&#45;logs" alt="" coords="156,5,247,53">
       
   136 <area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf&#45;postbuild" alt="" coords="5,5,107,53">
       
   137 </map>
       
   138 </p>
       
   139 <hr/>
       
   140 
       
   141 
       
   142 <h3>Source code</h3>
       
   143 <pre>
       
   144     &lt;target name=&quot;sf-zip-logs&quot;&gt;
       
   145         &lt;if&gt;
       
   146             &lt;istrue value=&quot;${sf.spec.logs.zip.enable}&quot;/&gt;
       
   147             &lt;then&gt;
       
   148                 &lt;property name=&quot;temp.log.dir&quot; value=&quot;${env.TEMP}/${build.id}_output_logs&quot;/&gt;
       
   149                 &lt;echo message=&quot;Zip log requested, zipping logs...&quot;/&gt;
       
   150                 &lt;mkdir dir=&quot;${temp.log.dir}&quot;/&gt;
       
   151                 &lt;zip destfile=&quot;${temp.log.dir}/build_logs.zip&quot; basedir=&quot;${build.drive}&quot;&gt; 
       
   152                     &lt;include name=&quot;output/logs/**&quot;/&gt;
       
   153                     &lt;exclude name=&quot;output/logs/BOM/**&quot;/&gt;
       
   154                     &lt;exclude name=&quot;output/logs/deliverables/**&quot;/&gt;
       
   155                     &lt;exclude name=&quot;output/logs/releaseables/**&quot;/&gt;
       
   156                 &lt;/zip&gt;
       
   157                 &lt;zip destfile=&quot;${temp.log.dir}/build_BOM.zip&quot;&gt;
       
   158                     &lt;zipfileset dir=&quot;${build.drive}/output/logs/BOM&quot; prefix=&quot;build_info/logs/BOM&quot;/&gt;
       
   159                     &lt;zipfileset dir=&quot;${build.drive}/output/logs/releaseables&quot; prefix=&quot;build_info/logs/releaseables&quot;/&gt;
       
   160                 &lt;/zip&gt;
       
   161                 &lt;move todir=&quot;${build.log.dir}&quot;&gt;
       
   162                     &lt;fileset dir=&quot;${temp.log.dir}&quot;/&gt;
       
   163                 &lt;/move&gt;
       
   164             &lt;/then&gt;
       
   165         &lt;/if&gt;
       
   166     &lt;/target&gt;
       
   167 </pre>
       
   168 
       
   169 
       
   170     <hr/>
       
   171 <!-- ========= start of top navbar ======= -->
       
   172 <a name="navbar_top"><!-- --></a>
       
   173 <a href="#skip-navbar_top" title="skip navigation links"></a>
       
   174 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary="">
       
   175 <tr>
       
   176 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1">
       
   177 <a name="navbar_top_firstrow"><!-- --></a>
       
   178 <table border="0" cellpadding="0" cellspacing="3" summary="">
       
   179   <tr align="center" valign="top">
       
   180   <td bgcolor="#ffffff" class="navbarcell1"> &#160;<a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font>&#160;</a></td>
       
   181 
       
   182   <td bgcolor="#ffffff" class="navbarcell1">    <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a>&#160;</td>
       
   183     
       
   184   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a>&#160;</td>  
       
   185   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a>&#160;</td>
       
   186   <td bgcolor="#eeeeff" class="navbarcell1">    <a href="help.html"><font class="navbarfont1"><b>help</b></font></a>&#160;</td>
       
   187   </tr>
       
   188 </table>
       
   189 </td>
       
   190 <td align="right" valign="top" rowspan="3"><em>
       
   191 <b>Helium API</b></em>
       
   192 
       
   193 </td>
       
   194 </tr>
       
   195 
       
   196 <tr>
       
   197 <td bgcolor="white" class="navbarcell2"><font size="-2">
       
   198 &#160;prev&#160;
       
   199 &#160;next</font></td>
       
   200 <td bgcolor="white" class="navbarcell2"><font size="-2">
       
   201   <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>  &#160;
       
   202 &#160;<a href="overview-summary.html" target="_top"><b>no frames</b></a>  &#160;
       
   203 
       
   204 &#160;<script type="text/javascript">
       
   205   <!--
       
   206   if(window==top) {
       
   207     document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>');
       
   208   }
       
   209   //-->
       
   210 </script>
       
   211 <noscript>
       
   212   <a href="allclasses-noframe.html"><b>all classes</b></a>
       
   213 </noscript>
       
   214 
       
   215 
       
   216 </font></td>
       
   217 </tr>
       
   218 </table>
       
   219 <a name="skip-navbar_top"></a>
       
   220 <!-- ========= end of top navbar ========= -->
       
   221     <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>
       
   222  </body>
       
   223 
       
   224 </html>
       
   225 
       
   226