doc/api/helium/target-sf-preprocess-package-config.html
changeset 627 56a1d97e7c73
parent 432 f2ddfa555b0f
equal deleted inserted replaced
607:3c858aa7a023 627:56a1d97e7c73
    80 
    80 
    81     
    81     
    82 <h2>Target sf-preprocess-package-config</h2>
    82 <h2>Target sf-preprocess-package-config</h2>
    83 
    83 
    84 <p><b>Location</b></p>
    84 <p><b>Location</b></p>
    85 <p>    <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.xml#L441">D:\maintools\sf-config\common\build.xml:441:</a></tt>  
    85 <p>    <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.xml#L446">d:\maintools\sf-config\common\build.xml:446:</a></tt>  
    86 </p>
    86 </p>
    87 
    87 
    88 <p><b>Conditional execution</b></p>        
    88 <p><b>Conditional execution</b></p>        
    89 <p>No conditions on target execution.</p>
    89 <p>No conditions on target execution.</p>
    90 <hr/>
    90 <hr/>
   100 <p> 
   100 <p> 
   101 <table class="docutils" width="50%">
   101 <table class="docutils" width="50%">
   102     <tr>
   102     <tr>
   103         <th class="head">Name</th>
   103         <th class="head">Name</th>
   104     </tr>
   104     </tr>
       
   105         <tr>
       
   106                     <td>perl</td>
       
   107             </tr>
   105         <tr>
   108         <tr>
   106                     <td>perl</td>
   109                     <td>perl</td>
   107             </tr>
   110             </tr>
   108 </table>
   111 </table>
   109 </p>
   112 </p>
   152 
   155 
   153 <h3>Source code</h3>
   156 <h3>Source code</h3>
   154 <pre>
   157 <pre>
   155     &lt;target name=&quot;sf-preprocess-package-config&quot;&gt;
   158     &lt;target name=&quot;sf-preprocess-package-config&quot;&gt;
   156         &lt;mkdir dir=&quot;${sf.common.config.dir}/generated&quot;/&gt;
   159         &lt;mkdir dir=&quot;${sf.common.config.dir}/generated&quot;/&gt;
   157             &lt;if&gt;&lt;istrue value=&quot;${sf.spec.package.src.enable}&quot;/&gt;
       
   158             &lt;then&gt;
       
   159                 &lt;echo message=&quot;INFO Packaging Source Repos&quot;/&gt;
       
   160                 &lt;property name=&quot;sf-preprocess-package-config.arg&quot; value=&quot;&quot;/&gt;
       
   161             &lt;/then&gt;
       
   162             &lt;else&gt;
       
   163                 &lt;echo message=&quot;INFO Packaging: Ignoring Source Repos&quot;/&gt;
       
   164                 &lt;property name=&quot;sf-preprocess-package-config.arg&quot; value=&quot;--nosource&quot;/&gt;
       
   165             &lt;/else&gt;
       
   166             &lt;/if&gt;
       
   167 
       
   168         &lt;exec executable=&quot;perl&quot; dir=&quot;${build.drive}/&quot; failonerror=&quot;false&quot; output=&quot;${build.log.dir}/zipconfig.log&quot;&gt;
   160         &lt;exec executable=&quot;perl&quot; dir=&quot;${build.drive}/&quot; failonerror=&quot;false&quot; output=&quot;${build.log.dir}/zipconfig.log&quot;&gt;
   169             &lt;arg value=&quot;${sf.common.config.dir}/tools/populateziptemplate.pl&quot;/&gt;
   161             &lt;arg value=&quot;${sf.common.config.dir}/tools/populateziptemplate.pl&quot;/&gt;
   170             &lt;arg value=&quot;${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}&quot;/&gt;
   162             &lt;arg value=&quot;${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}&quot;/&gt;
   171             &lt;arg value=&quot;${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template&quot;/&gt;
   163             &lt;arg value=&quot;${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template&quot;/&gt;
   172             &lt;arg value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
   164             &lt;arg value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
   173             &lt;arg value=&quot;${build.log.dir}/rnd_excludefile.txt&quot;/&gt;
   165             &lt;arg value=&quot;${build.log.dir}/rnd_excludefile.txt&quot;/&gt;
   174             &lt;arg value=&quot;${sf-preprocess-package-config.arg}&quot;/&gt;
   166         &lt;/exec&gt;
       
   167         &lt;exec executable=&quot;perl&quot; failonerror=&quot;false&quot; output=&quot;${build.log.dir}/summary/PreprocessPackageConfig_BRAG.xml&quot; logError=&quot;true&quot;&gt;
       
   168             &lt;arg value=&quot;${sf.common.config.dir}/tools/brag/logToBRAG.pl&quot;/&gt;
       
   169             &lt;arg value=&quot;--phase=Prebuild&quot;/&gt;
       
   170             &lt;arg value=&quot;--step=Preprocess package config&quot;/&gt;
       
   171             &lt;arg value=&quot;--rules=${sf.common.config.dir}/tools/brag/rules.PreprocessPackageConfig.tsv&quot;/&gt;
       
   172             &lt;arg value=&quot;${build.log.dir}/zipconfig.log&quot;/&gt;
   175         &lt;/exec&gt;
   173         &lt;/exec&gt;
   176     &lt;/target&gt;
   174     &lt;/target&gt;
   177 </pre>
   175 </pre>
   178 
   176 
   179 
   177