Changeset 17786 for release-kits/lirk2/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/lirk2/ant-scripts/create-components.xml
r17721 r17786 13 13 <target name="prepare-components"> 14 14 <antcall target="prepare-core-component" /> 15 <antcall target="prepare-imagemagick-component" /> 16 15 17 <antcall target="prepare-sourcecode-component" /> 16 <antcall target="prepare-imagemagick-component" /> 17 <antcall target="prepare-source code-core-component" />18 19 <antcall target="prepare-source-release" /> 18 20 </target> 19 21 20 22 <target name="compress-components"> 21 23 <antcall target="compress-core-component" /> 22 <antcall target="compress-sourcecode-component" />23 24 <antcall target="compress-imagemagick-component" /> 24 <antcall target="compress-sourcecode-core-component" /> 25 26 <!--<antcall target="compress-sourcecode-component" />--> 27 28 <antcall target="compress-source-release" /> 25 29 </target> 26 30 … … 56 60 </target> 57 61 58 <!-- sourcecode core -->59 <target name="prepare-sourcecode-core-component">60 <delete dir="components/tmp/sourcecode-core"/>61 <mkdir dir="components/tmp/sourcecode-core"/>62 63 <copy todir="components/tmp/sourcecode-core" overwrite="true">64 <fileset dir="distributions/source">65 <include name="macros/**/*"/>66 <include name="images/**/*"/>67 <include name="etc/**/*"/>68 <include name="gli/**/*"/>69 <include name="collect/**/*"/>70 <include name="doc/**/*"/>71 <include name="setup.bash"/>72 </fileset>73 </copy>74 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/>75 </target>76 77 <target name="compress-sourcecode-core-component">78 <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>79 </target>80 81 62 <!-- sourcecode --> 82 63 <target name="prepare-sourcecode-component"> … … 93 74 </copy> 94 75 95 <zip destfile="components/sourcecode.comp" basedir="components/tmp/sourcecode" compress="false"/>96 76 <zip destfile="components/Greenstone-${version}-linux-sourcecode.zip" basedir="components/tmp/sourcecode" compress="true"/> 97 77 </target> … … 120 100 </target> 121 101 102 <!-- source-release --> 103 <target name="prepare-source-release"> 104 <delete dir="components/tmp/source-release"/> 105 <mkdir dir="components/tmp/source-release"/> 106 107 <copy todir="components/tmp/source-release" overwrite="true"> 108 <fileset dir="distributions/source"/> 109 </copy> 110 <zip destfile="components/source-release.comp" basedir="components/tmp/source-release" compress="false" includes="**/*"/> 111 </target> 112 113 <target name="compress-source-release"> 114 <sevenzip task="encode" input="components/source-release.comp" output="components/source-release.lzma" dictionnary="26"/> 115 </target> 116 117 122 118 </project>
Note:
See TracChangeset
for help on using the changeset viewer.