doc/api/helium/target-sf-package-source.html
changeset 627 56a1d97e7c73
parent 432 f2ddfa555b0f
equal deleted inserted replaced
607:3c858aa7a023 627:56a1d97e7c73
    80 
    80 
    81     
    81     
    82 <h2>Target sf-package-source</h2>
    82 <h2>Target sf-package-source</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#L470">D:\maintools\sf-config\common\build.xml:470:</a></tt>  
    85 <p>    <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.xml#L470">d:\maintools\sf-config\common\build.xml:470:</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/>
   134 
   134 
   135 
   135 
   136 <h3>Source code</h3>
   136 <h3>Source code</h3>
   137 <pre>
   137 <pre>
   138     &lt;target name=&quot;sf-package-source&quot; depends=&quot;sf-preprocess-package-config&quot;&gt;
   138     &lt;target name=&quot;sf-package-source&quot; depends=&quot;sf-preprocess-package-config&quot;&gt;
   139         &lt;!-- Firstly zip up src &amp; rnd by package --&gt;
   139         &lt;!-- Firstly zip up rnd by package --&gt;
   140         &lt;antcall target=&quot;sf-zip-content&quot;&gt;
   140         &lt;antcall target=&quot;sf-zip-content&quot;&gt;
   141             &lt;param name=&quot;zip.config.file&quot; value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
   141             &lt;param name=&quot;zip.config.file&quot; value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
   142             &lt;param name=&quot;zip.target.name&quot; value=&quot;src&quot;/&gt;
   142             &lt;param name=&quot;zip.target.name&quot; value=&quot;rnd&quot;/&gt;
   143         &lt;/antcall&gt;
   143         &lt;/antcall&gt;
   144         &lt;!-- Then zip up src zips by layer --&gt;
       
   145         &lt;antcall target=&quot;sf-zip-content&quot;&gt;
   144         &lt;antcall target=&quot;sf-zip-content&quot;&gt;
   146             &lt;param name=&quot;zip.config.file&quot; value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
   145             &lt;param name=&quot;zip.config.file&quot; value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
   147             &lt;param name=&quot;zip.target.name&quot; value=&quot;src-by-layer&quot;/&gt;
   146             &lt;param name=&quot;zip.target.name&quot; value=&quot;rnd-internal&quot;/&gt;
   148         &lt;/antcall&gt;
   147         &lt;/antcall&gt;
       
   148         &lt;if&gt;
       
   149             &lt;istrue value=&quot;${sf.spec.package.src.enable}&quot;/&gt;
       
   150             &lt;then&gt;
       
   151                 &lt;echo message=&quot;INFO Packaging Source Repos&quot;/&gt;
       
   152                 &lt;antcall target=&quot;sf-zip-content&quot;&gt;
       
   153                     &lt;param name=&quot;zip.config.file&quot; value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
       
   154                     &lt;param name=&quot;zip.target.name&quot; value=&quot;src&quot;/&gt;
       
   155                 &lt;/antcall&gt;
       
   156                 &lt;!-- Then zip up src zips by layer --&gt;
       
   157                 &lt;antcall target=&quot;sf-zip-content&quot;&gt;
       
   158                     &lt;param name=&quot;zip.config.file&quot; value=&quot;${sf.common.config.dir}/generated/zip.cfg.xml.ftl&quot;/&gt;
       
   159                     &lt;param name=&quot;zip.target.name&quot; value=&quot;src-by-layer&quot;/&gt;
       
   160                 &lt;/antcall&gt;
       
   161             &lt;/then&gt;
       
   162         &lt;/if&gt;
   149     &lt;/target&gt;
   163     &lt;/target&gt;
   150 </pre>
   164 </pre>
   151 
   165 
   152 
   166 
   153     <hr/>
   167     <hr/>