--- a/doc/api/helium/target-sf-package-source.html Tue Oct 06 17:31:14 2009 +0100
+++ b/doc/api/helium/target-sf-package-source.html Thu Oct 08 19:36:20 2009 +0100
@@ -82,7 +82,7 @@
<h2>Target sf-package-source</h2>
<p><b>Location</b></p>
-<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>
+<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>
</p>
<p><b>Conditional execution</b></p>
@@ -136,16 +136,30 @@
<h3>Source code</h3>
<pre>
<target name="sf-package-source" depends="sf-preprocess-package-config">
- <!-- Firstly zip up src & rnd by package -->
+ <!-- Firstly zip up rnd by package -->
+ <antcall target="sf-zip-content">
+ <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
+ <param name="zip.target.name" value="rnd"/>
+ </antcall>
<antcall target="sf-zip-content">
<param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
- <param name="zip.target.name" value="src"/>
+ <param name="zip.target.name" value="rnd-internal"/>
</antcall>
- <!-- Then zip up src zips by layer -->
- <antcall target="sf-zip-content">
- <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
- <param name="zip.target.name" value="src-by-layer"/>
- </antcall>
+ <if>
+ <istrue value="${sf.spec.package.src.enable}"/>
+ <then>
+ <echo message="INFO Packaging Source Repos"/>
+ <antcall target="sf-zip-content">
+ <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
+ <param name="zip.target.name" value="src"/>
+ </antcall>
+ <!-- Then zip up src zips by layer -->
+ <antcall target="sf-zip-content">
+ <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
+ <param name="zip.target.name" value="src-by-layer"/>
+ </antcall>
+ </then>
+ </if>
</target>
</pre>