common/build.xml
changeset 239 5033df3f8834
parent 238 02e483ad6786
child 241 d64a45951a43
--- a/common/build.xml	Wed Jul 15 17:48:52 2009 +0100
+++ b/common/build.xml	Wed Jul 15 17:50:03 2009 +0100
@@ -564,10 +564,16 @@
     </target>
     
     <target name="sf-package-source" depends="sf-preprocess-package-config">
+        <!-- Firstly zip up src 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="src" />
         </antcall>
+        <!-- Then zip up 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>
     </target>
     
     <target name="sf-package-tools" depends="sf-preprocess-package-config">