Changeset 17786 for release-kits/lirk2
- Timestamp:
- 2008-11-07T14:36:58+13:00 (15 years ago)
- Location:
- release-kits/lirk2
- Files:
-
- 4 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> -
release-kits/lirk2/ant-scripts/create-distribution.xml
r17652 r17786 9 9 <antcall target="drop-in-docs" /> 10 10 <antcall target="tweak-files" /> 11 <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets --> 12 <antcall target="drop-in-demo-collection" /> 13 <antcall target="insert-export-to-cd-package"/> <!-- from rk2-targets --> 11 14 <antcall target="remove-unneeded-files-1" /> 12 15 … … 14 17 15 18 <antcall target="drop-in-binaries" /> 16 <antcall target="drop-in-demo-collection" />17 <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk2-targets -->18 <antcall target="insert-export-to-cd-package"/> <!-- from rk2-targets -->19 19 <antcall target="export-imagemagick-linux-binaries" /> 20 20 <antcall target="compile-gli" /> … … 81 81 <target name="remove-unneeded-files-1"> 82 82 <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 83 <delete><fileset dir="${basedir}/distributions/web/gli" includes="*.bat"/></delete>84 <delete><fileset dir="${basedir}/distributions/web" includes="*.bat"/></delete>85 <delete dir="${basedir}/distributions/web/common-src/packages/windows"/>86 83 </target> 87 84 … … 126 123 <target name="remove-unneeded-files-2"> 127 124 <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" /> 125 <delete><fileset dir="${basedir}/distributions/web/gli" includes="*.bat"/></delete> 126 <delete><fileset dir="${basedir}/distributions/web" includes="*.bat"/></delete> 127 <delete dir="${basedir}/distributions/web/common-src/packages/windows"/> 128 128 </target> 129 129 130 131 130 </project> -
release-kits/lirk2/installer/antinstall-config.xml
r17765 r17786 25 25 26 26 <!-- simple intro page --> 27 <page type="input" name="intro" displayText=""> 27 <page 28 type="input" 29 name="intro" 30 displayText="" 31 <!-- start source release --> 32 target="Source Release" 33 <!-- end source release --> 34 > 35 28 36 <comment name="welcome-message"/> 29 37 </page> … … 42 50 </page> 43 51 52 <!-- start binary release --> 44 53 <page type="input" name="selector" displayText=""> 45 54 <comment name="choose-components"/> … … 53 62 hidden="true"/> 54 63 55 <!-- start binary release core -->56 64 <target 57 65 target="Installing Core System" … … 60 68 defaultValue="true" 61 69 force="true"/> 62 <!-- end binary release core -->63 64 <!-- start source release core -->65 <target66 target="Installing Source Code Core"67 diskRequirement="@component.size.sourcecode-core@"68 displayText=""69 defaultValue="true"70 />71 <!-- end source release core -->72 70 73 71 <!-- start bundled components --> … … 79 77 <!-- end bundled components --> 80 78 81 <!-- start sourcecode -->82 <target83 target="Installing Source Code"84 diskRequirement="@component.size.sourcecode@"85 defaultValue="true"86 displayText=""/>87 <!-- end sourcecode -->88 89 79 </page> 90 80 91 <!-- start binary release core -->92 81 <page type="input" name="admin-password" displayText=""> 93 82 <comment name="admin-password-expl"/> 94 83 <text property="admin.password" defaultValue="" displayText=""/> 95 84 </page> 96 <!-- end binary release core-->85 <!-- end binary release --> 97 86 98 87 <page type="progress" name="progress" showTargets="true" displayText=""/> -
release-kits/lirk2/installer/build.xml
r17765 r17786 98 98 </target> 99 99 100 <!-- sourcecode core system --> 101 <target name="Installing Source Code Core"> 100 <!-- imagemagick --> 101 <target name="Installing ImageMagick"> 102 <echo>Installing ImageMagick</echo> 103 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="imagemagick.lzma"/></patternset></unzip> 104 <sevenzip task="decode" input="${basedir}/imagemagick.lzma" output="${basedir}/imagemagick.comp"/> 105 <delete file="imagemagick.lzma"/> 106 <unzip src="${basedir}/imagemagick.comp" dest="${installDir}/bin/linux"/> 107 <delete file="imagemagick.comp"/> 108 109 <echo>Setting ImageMagick Binaries to Executable</echo> 110 <chmod dir="${installDir}/bin/linux/imagemagick/bin" includes="*" perm="775"/> 111 112 </target> 102 113 103 <echo>Installing Source Code Core</echo> 104 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 105 <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/> 106 <delete file="sourcecode-core.lzma"/> 107 <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 108 <delete file="sourcecode-core.comp"/> 114 <!-- source release --> 115 <target name="Source Release"> 116 117 <echo>Installing Source Release</echo> 118 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="source-release.lzma"/></patternset></unzip> 119 <sevenzip task="decode" input="${basedir}/source-release.lzma" output="${basedir}/source-release.comp"/> 120 <delete file="source-release.lzma"/> 121 <unzip src="${basedir}/source-release.comp" dest="${installDir}"/> 122 <delete file="source-release.comp"/> 109 123 110 124 <echo>Set the installation locale in config files</echo> … … 129 143 130 144 131 <!-- source code -->132 <target name="Installing Source Code">133 <echo>Installing Source Code</echo>134 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode.lzma"/></patternset></unzip>135 <sevenzip task="decode" input="${basedir}/sourcecode.lzma" output="${basedir}/sourcecode.comp"/>136 <delete file="sourcecode.lzma"/>137 <unzip src="${basedir}/sourcecode.comp" dest="${installDir}"/>138 <delete file="sourcecode.comp"/>139 </target>140 141 <!-- imagemagick -->142 <target name="Installing ImageMagick">143 <echo>Installing ImageMagick</echo>144 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="imagemagick.lzma"/></patternset></unzip>145 <sevenzip task="decode" input="${basedir}/imagemagick.lzma" output="${basedir}/imagemagick.comp"/>146 <delete file="imagemagick.lzma"/>147 <unzip src="${basedir}/imagemagick.comp" dest="${installDir}/bin/linux"/>148 <delete file="imagemagick.comp"/>149 150 <echo>Setting ImageMagick Binaries to Executable</echo>151 <chmod dir="${installDir}/bin/linux/imagemagick/bin" includes="*" perm="775"/>152 153 </target>154 155 145 </project>
Note:
See TracChangeset
for help on using the changeset viewer.