diff -r 3c858aa7a023 -r 56a1d97e7c73 doc/api/helium/target-sf-package-source.html --- 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 @@

Target sf-package-source

Location

-

D:\maintools\sf-config\common\build.xml:470: +

d:\maintools\sf-config\common\build.xml:470:

Conditional execution

@@ -136,16 +136,30 @@

Source code

     <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>