Changeset 17786 for release-kits/lirk3/ant-scripts/create-components.xml
- Timestamp:
- 2008-11-07T14:36:58+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/create-components.xml
r17721 r17786 13 13 <target name="prepare-components"> 14 14 <antcall target="prepare-core-component" /> 15 <antcall target="prepare-sourcecode-component" />16 15 <antcall target="prepare-ant-component" /> 17 16 <antcall target="prepare-tomcat-component" /> 18 17 <antcall target="prepare-imagemagick-component" /> 19 <antcall target="prepare-sourcecode-core-component" /> 18 19 <antcall target="prepare-sourcecode-component" /> 20 21 <antcall target="prepare-source-release" /> 20 22 </target> 21 23 22 24 <target name="compress-components"> 23 25 <antcall target="compress-core-component" /> 24 <antcall target="compress-sourcecode-component" />25 26 <antcall target="compress-ant-component" /> 26 27 <antcall target="compress-tomcat-component" /> 27 28 <antcall target="compress-imagemagick-component" /> 28 <antcall target="compress-sourcecode-core-component" /> 29 30 <!--<antcall target="compress-sourcecode-component" />--> 31 32 <antcall target="compress-source-release" /> 29 33 </target> 30 34 … … 67 71 </target> 68 72 69 <!-- sourcecode-core -->70 <target name="prepare-sourcecode-core-component">71 <delete dir="components/tmp/sourcecode-core"/>72 <mkdir dir="components/tmp/sourcecode-core"/>73 74 <copy todir="components/tmp/sourcecode-core" overwrite="true">75 <fileset dir="distribution/source">76 <include name="gli/**/*"/>77 <include name="docs/**/*"/>78 <include name="resources/**/*"/>79 <include name="web/**/*"/>80 <include name="gs2build/etc/**/*"/>81 <include name="gs2build/setup.bash"/>82 <include name="build.xml"/>83 <include name="build.properties"/>84 <include name="*.sh"/>85 <include name="*.txt"/>86 </fileset>87 </copy>88 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false"/>89 </target>90 91 <target name="compress-sourcecode-core-component">92 <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>93 </target>94 95 73 <!-- sourcecode --> 96 74 <target name="prepare-sourcecode-component"> … … 108 86 </copy> 109 87 110 <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false" />111 88 <zip destfile="components/Greenstone-${version}-linux-sourcecode.zip" basedir="components/tmp/sourcecode" compress="true"/> 112 89 </target> … … 173 150 </target> 174 151 152 153 <!-- sourcecode-release --> 154 <target name="prepare-source-release"> 155 <delete dir="components/tmp/source-release"/> 156 <mkdir dir="components/tmp/source-release"/> 157 158 <copy todir="components/tmp/source-release" overwrite="true"> 159 <fileset dir="distribution/source"/> 160 </copy> 161 <zip destfile="components/source-release.comp" basedir="components/tmp/source-release" compress="false"/> 162 </target> 163 164 <target name="compress-source-release"> 165 <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/> 166 </target> 167 168 175 169 </project>
Note:
See TracChangeset
for help on using the changeset viewer.