Changeset 17652 for release-kits/mark2/ant-scripts/create-components.xml
- Timestamp:
- 2008-10-31T15:08:31+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/mark2/ant-scripts/create-components.xml
r17453 r17652 3 3 4 4 <!-- create components from the distribution folder --> 5 6 <!-- 1st level --> 5 7 <target name="create-components"> 6 <antcall target="create-core-component" /> 7 <antcall target="create-sourcecode-component" /> 8 <antcall target="prepare-components" /> 9 <antcall target="compress-components" /> 10 </target> 11 12 <!-- 2nd level --> 13 <target name="prepare-components"> 14 <antcall target="prepare-core-component" /> 15 <antcall target="prepare-sourcecode-component" /> 16 <antcall target="prepare-sourcecode-core-component" /> 8 17 </target> 9 18 19 <target name="compress-components"> 20 <antcall target="compress-core-component" /> 21 <antcall target="compress-sourcecode-component" /> 22 <antcall target="compress-sourcecode-core-component" /> 23 </target> 24 25 <!-- 3rd level --> 10 26 <target name="create-core-component"> 11 27 <antcall target="prepare-core-component" /> … … 27 43 <include name="**/*"/> 28 44 29 <!-- sourcecode --> 45 <!-- exclude sourcecode --> 46 <exclude name="common-src"/> 30 47 <exclude name="common-src/**/*"/> 48 <exclude name="runtime-src"/> 31 49 <exclude name="runtime-src/**/*"/> 50 <exclude name="build-src"/> 32 51 <exclude name="build-src/**/*"/> 33 52 … … 61 80 </target> 62 81 82 <target name="prepare-sourcecode-core-component"> 83 <delete dir="components/tmp/sourcecode-core"/> 84 <mkdir dir="components/tmp/sourcecode-core"/> 85 86 <copy todir="components/tmp/sourcecode-core" overwrite="true"> 87 <fileset dir="distributions/source"> 88 <include name="macros/**/*"/> 89 <include name="images/**/*"/> 90 <include name="etc/**/*"/> 91 <include name="gli/**/*"/> 92 <include name="collect/**/*"/> 93 <include name="doc/**/*"/> 94 <include name="setup.bash"/> 95 </fileset> 96 </copy> 97 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/> 98 </target> 99 100 <target name="compress-sourcecode-core-component"> 101 <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/> 102 </target> 103 63 104 </project>
Note:
See TracChangeset
for help on using the changeset viewer.