Changeset 17645 for release-kits
- Timestamp:
- 2008-10-30T15:46:18+13:00 (15 years ago)
- Location:
- release-kits/lirk3/ant-scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/create-components.xml
r17447 r17645 4 4 <!-- create components from the distribution folder --> 5 5 <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" /> 6 <antcall target="prepare-components" /> 7 <antcall target="compress-components" /> 10 8 </target> 11 9 12 <target name=" create-core-component">10 <target name="prepare-components"> 13 11 <antcall target="prepare-core-component" /> 14 <antcall target="compress-core-component" /> 12 <antcall target="prepare-sourcecode-component" /> 13 <antcall target="prepare-ant-component" /> 14 <antcall target="prepare-tomcat-component" /> 15 <antcall target="prepare-imagemagick-component" /> 16 15 17 </target> 16 18 17 <target name="c reate-sourcecode-component">18 <antcall target=" prepare-sourcecode-component" />19 <target name="compress-components"> 20 <antcall target="compress-core-component" /> 19 21 <antcall target="compress-sourcecode-component" /> 22 <antcall target="compress-ant-component" /> 23 <antcall target="compress-tomcat-component" /> 24 <antcall target="compress-imagemagick-component" /> 20 25 </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> 26 31 27 32 28 <target name="prepare-core-component"> … … 40 36 41 37 <!-- exclude sourcecode --> 38 <exclude name="src"/> 42 39 <exclude name="src/**/*"/> 40 <exclude name="gs2build/common-src"/> 43 41 <exclude name="gs2build/common-src/**/*"/> 42 <exclude name="gs2build/build-src"/> 44 43 <exclude name="gs2build/build-src/**/*"/> 44 <exclude name="gs2build/runtime-src"/> 45 45 <exclude name="gs2build/runtime-src/**/*"/> 46 46 47 47 <!-- exclude ant --> 48 <exclude name="packages/ant"/> 48 49 <exclude name="packages/ant/**/*"/> 49 50 50 51 <!-- exclude tomcat --> 52 <exclude name="packages/tomcat"/> 51 53 <exclude name="packages/tomcat/**/*"/> 54 55 <!-- exclude imagemagick --> 56 <exclude name="distributions/greenstone3/gs2build/bin/linux/imagemagick"/> 57 <exclude name="distributions/greenstone3/gs2build/bin/linux/imagemagick/**/*"/> 52 58 53 59 </fileset> … … 55 61 56 62 <!-- do some cleanup --> 57 <delete dir="components/tmp/core/gs2build/common-src"/>63 <!-- <delete dir="components/tmp/core/gs2build/common-src"/> 58 64 <delete dir="components/tmp/core/gs2build/build-src"/> 59 65 <delete dir="components/tmp/core/gs2build/runtime-src"/> 60 66 <delete dir="components/tmp/core/gs2build/bin/windows/imagemagick"/> 61 <delete dir="components/tmp/core/gs2build/bin/windows/ghostscript"/> 67 <delete dir="components/tmp/core/gs2build/bin/windows/ghostscript"/>--> 62 68 63 69 <zip destfile="components/core.comp" basedir="components/tmp/core" compress="false" /> … … 123 129 <target name="compress-tomcat-component"> 124 130 <sevenzip task="encode" input="components/tomcat.comp" output="components/tomcat.lzma" dictionnary="26"/> 125 </target> 131 </target> 132 133 <target name="prepare-imagemagick-component"> 134 135 <delete dir="components/tmp/imagemagick"/> 136 <mkdir dir="components/tmp/imagemagick"/> 137 138 <copy todir="components/tmp/imagemagick" overwrite="true"> 139 <fileset dir="distribution/greenstone3/gs2build/bin/linux"> 140 <include name="imagemagick/**/*"/> 141 </fileset> 142 </copy> 143 144 <zip destfile="components/imagemagick.comp" basedir="components/tmp/imagemagick" compress="false" includes="**/*"/> 145 </target> 146 147 <target name="compress-imagemagick-component"> 148 <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/> 149 </target> 126 150 127 151 </project> -
release-kits/lirk3/ant-scripts/create-distribution.xml
r17523 r17645 31 31 <antcall target="insert-user-manual"/> 32 32 <antcall target="insert-compiled-binaries"/> 33 <antcall target="export-imagemagick-linux-binaries" /> 33 34 <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk3-targets --> 34 35 <antcall target="rename-build-xml-for-transit"/> … … 42 43 <export srcurl="${svn.root}/greenstone3/${branch.path}" destPath="distribution/greenstone3"/> 43 44 <export srcurl="${svn.root}/gli/${branch.path}" destPath="distribution/greenstone3/gli"/> 45 </svn> 46 </target> 47 48 <target name="export-imagemagick-linux-binaries"> 49 <delete dir="distribution/greenstone3/gs2build/bin/linux/imagemagick"/> 50 <svn> 51 <export srcurl="${svn.root}/other-projects/trunk/linux-binaries/imagemagick" destPath="distribution/greenstone3/gs2build/bin/linux/imagemagick"/> 44 52 </svn> 45 53 </target> -
release-kits/lirk3/ant-scripts/operations-on-gs3home.xml
r17461 r17645 59 59 <antcall target="get-xml-parser"/> 60 60 61 <delete file="${packages.home}/*.zip"/> 61 <delete> 62 <fileset dir="${packages.home}" includes="*.zip"/> 63 </delete> 64 62 65 63 66 <!-- documented collections -->
Note:
See TracChangeset
for help on using the changeset viewer.