Changeset 17652 for release-kits/lirk3
- Timestamp:
- 2008-10-31T15:08:31+13:00 (15 years ago)
- Location:
- release-kits/lirk3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/ant-scripts/create-components.xml
r17645 r17652 3 3 4 4 <!-- create components from the distribution folder --> 5 6 <!-- 1st level --> 5 7 <target name="create-components"> 6 8 <antcall target="prepare-components" /> … … 8 10 </target> 9 11 12 <!-- 2nd level --> 10 13 <target name="prepare-components"> 11 14 <antcall target="prepare-core-component" /> … … 14 17 <antcall target="prepare-tomcat-component" /> 15 18 <antcall target="prepare-imagemagick-component" /> 16 19 <antcall target="prepare-sourcecode-core-component" /> 17 20 </target> 18 21 … … 23 26 <antcall target="compress-tomcat-component" /> 24 27 <antcall target="compress-imagemagick-component" /> 28 <antcall target="compress-sourcecode-core-component" /> 25 29 </target> 26 30 27 31 <!-- 3rd level --> 28 32 <target name="prepare-core-component"> 29 33 … … 148 152 <sevenzip task="encode" input="components/imagemagick.comp" output="components/imagemagick.lzma" dictionnary="26"/> 149 153 </target> 154 155 <target name="prepare-sourcecode-core-component"> 156 <delete dir="components/tmp/sourcecode-core"/> 157 <mkdir dir="components/tmp/sourcecode-core"/> 158 159 <copy todir="components/tmp/sourcecode-core" overwrite="true"> 160 <fileset dir="distribution/source"> 161 <include name="gli/**/*"/> 162 <include name="docs/**/*"/> 163 <include name="resources/**/*"/> 164 <include name="web/**/*"/> 165 <include name="gs2build/etc/**/*"/> 166 <include name="gs2build/setup.bash"/> 167 <include name="build.xml"/> 168 <include name="build.properties"/> 169 <include name="*.sh"/> 170 <include name="*.txt"/> 171 </fileset> 172 </copy> 173 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/> 174 </target> 150 175 176 <target name="compress-sourcecode-core-component"> 177 <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/> 178 </target> 179 151 180 </project> -
release-kits/lirk3/ant-scripts/create-distribution.xml
r17645 r17652 3 3 4 4 <target name="create-distribution"> 5 5 6 <!-- create distribution --> 6 7 <antcall target="export-greenstone3-gli" /> 7 <antcall target="greenstone3-set-version-numbers"> 8 <param name="greenstone3basedir" value="${basedir}/distribution/greenstone3"/> 9 </antcall> 10 <antcall target="gli-set-version-numbers"> 11 <param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/> 12 </antcall> 8 <antcall target="greenstone3-set-version-numbers"><param name="greenstone3basedir" value="${basedir}/distribution/greenstone3"/></antcall> 9 <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/></antcall> 10 <antcall target="insert-user-manual"/> 13 11 14 <!-- create distributions 1, 2 and 3 --> 12 <antcall target="copy-web-to-source-greenstone3" /> <!-- from gs3-targets --> 13 15 14 <ant antfile="${lirk3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" target="create-distribution-1" inheritAll="false"> 16 15 <property name="app.version" value="${version}"/> … … 29 28 30 29 <antcall target="copy-over-build-xml" /> 31 <antcall target="insert-user-manual"/>32 30 <antcall target="insert-compiled-binaries"/> 33 31 <antcall target="export-imagemagick-linux-binaries" /> 34 32 <antcall target="insert-uninstaller"><param name="script-format" value="sh"/></antcall> <!-- from rk3-targets --> 35 <antcall target="rename-build-xml-for-transit"/> 36 <antcall target="strip-svn-dirs"><param name="dir" value="distribution/greenstone3"/></antcall> <!-- from init --> 33 34 <antcall target="strip-svn-dirs"><param name="dir" value="distribution"/></antcall> <!-- from init --> 35 37 36 </target> 38 37 … … 72 71 </target> 73 72 74 <target name="rename-build-xml-for-transit">75 <move file="distribution/greenstone3/build.xml" tofile="distribution/greenstone3/greenstone3-build.xml"/>76 </target>77 78 73 </project> -
release-kits/lirk3/installer/antinstall-config.xml
r17646 r17652 53 53 <comment name="choose-components"/> 54 54 55 <!-- start binary release core --> 55 56 <target 56 57 target="Installing Core System" 57 58 diskRequirement="@component.size.core@" 59 displayText="" 58 60 defaultValue="true" 61 force="true"/> 62 <!-- end binary release core --> 63 64 <!-- start source release core --> 65 <target 66 target="Installing Source Code Core" 67 diskRequirement="@component.size.sourcecode-core@" 59 68 displayText="" 69 defaultValue="true" 60 70 force="true"/> 71 <!-- end source release core --> 61 72 62 73 <!-- start bundled components --> … … 90 101 </page> 91 102 103 <!-- start bundled components --> 92 104 <page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText=""> 93 105 … … 97 109 98 110 </page> 111 <!-- end bundled components --> 99 112 100 113 <page type="progress" name="progress" showTargets="true" displayText=""/> -
release-kits/lirk3/installer/build.xml
r17646 r17652 42 42 <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/> 43 43 44 45 <echo>Renaming greenstone3-build.xml back to build.xml</echo>46 <move file="${installDir}/greenstone3-build.xml" tofile="${installDir}/build.xml" overwrite="true"/>47 48 44 <echo>Setting Binaries to Executable</echo> 49 45 <chmod dir="${installDir}" includes="*.sh" perm="775"/> … … 69 65 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 70 66 71 <echo>Deleting some unneeded files</echo>72 <delete dir="${installDir}/resources/icons"/>73 <delete file="${installDir}/resources/*.png"/>74 75 67 <echo>Creating installation properties file</echo> 76 68 <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> … … 79 71 80 72 </target> 73 74 <!-- sourcecode core system --> 75 <target name="Installing Source Code Core"> 76 77 <echo>Installing Source Code Core</echo> 78 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 79 <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/> 80 <delete file="sourcecode-core.lzma"/> 81 <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 82 <delete file="sourcecode-core.comp"/> 83 84 <echo>Setting up global properties</echo> 85 <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/> 86 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 87 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.server@(.*)" replacement="$1localhost$2" /> 88 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.port@(.*)" replacement="$1${tomcat.port}$2" /> 89 90 <echo>Setting up log4j properties</echo> 91 <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/> 92 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 93 94 <echo>Creating installation properties file</echo> 95 <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> 96 97 </target> 98 81 99 82 100 <!-- Source -->
Note:
See TracChangeset
for help on using the changeset viewer.