Changeset 17652 for release-kits/mark3/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/mark3/ant-scripts/create-components.xml
r17455 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="create-ant-component" /> 9 <antcall target="create-tomcat-component" /> 8 <antcall target="prepare-components" /> 9 <antcall target="compress-components" /> 10 10 </target> 11 11 12 <target name="create-core-component"> 12 <!-- 2nd level --> 13 <target name="prepare-components"> 13 14 <antcall target="prepare-core-component" /> 14 <antcall target="compress-core-component" /> 15 <antcall target="prepare-sourcecode-component" /> 16 <antcall target="prepare-ant-component" /> 17 <antcall target="prepare-tomcat-component" /> 18 <antcall target="prepare-sourcecode-core-component" /> 15 19 </target> 16 20 17 <target name="create-sourcecode-component"> 18 <antcall target="prepare-sourcecode-component" /> 19 <antcall target="compress-sourcecode-component" /> 21 <target name="compress-components"> 22 <antcall target="compress-core-component" /> 23 <antcall target="compress-sourcecode-component" /> 24 <antcall target="compress-ant-component" /> 25 <antcall target="compress-tomcat-component" /> 26 <antcall target="compress-sourcecode-core-component" /> 20 27 </target> 21 22 <target name="create-ant-component"> 23 <antcall target="prepare-ant-component" /> 24 <antcall target="compress-ant-component" /> 25 </target> 26 27 <target name="create-tomcat-component"> 28 <antcall target="prepare-tomcat-component" /> 29 <antcall target="compress-tomcat-component" /> 30 </target> 31 28 29 <!-- 3rd level --> 32 30 <target name="prepare-core-component"> 33 31 … … 124 122 <sevenzip task="encode" input="components/tomcat.comp" output="components/tomcat.lzma" dictionnary="26"/> 125 123 </target> 124 125 <target name="prepare-sourcecode-core-component"> 126 <delete dir="components/tmp/sourcecode-core"/> 127 <mkdir dir="components/tmp/sourcecode-core"/> 128 129 <copy todir="components/tmp/sourcecode-core" overwrite="true"> 130 <fileset dir="distribution/source"> 131 <include name="gli/**/*"/> 132 <include name="docs/**/*"/> 133 <include name="resources/**/*"/> 134 <include name="web/**/*"/> 135 <include name="gs2build/etc/**/*"/> 136 <include name="gs2build/setup.bash"/> 137 <include name="build.xml"/> 138 <include name="build.properties"/> 139 <include name="*.sh"/> 140 <include name="*.txt"/> 141 </fileset> 142 </copy> 143 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/> 144 </target> 145 146 <target name="compress-sourcecode-core-component"> 147 <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/> 148 </target> 149 126 150 127 151 </project>
Note:
See TracChangeset
for help on using the changeset viewer.