Changeset 17786 for release-kits/mark3
- Timestamp:
- 2008-11-07T14:36:58+13:00 (15 years ago)
- Location:
- release-kits/mark3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/mark3/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 <antcall target="prepare-sourcecode-core-component" />19 17 <antcall target="prepare-imagemagick-component" /> 20 18 <antcall target="prepare-ghostscript-component" /> 19 20 <!--<antcall target="prepare-sourcecode-component" />--> 21 21 </target> 22 22 23 23 <target name="compress-components"> 24 24 <antcall target="compress-core-component" /> 25 <antcall target="compress-sourcecode-component" />26 25 <antcall target="compress-ant-component" /> 27 26 <antcall target="compress-tomcat-component" /> 28 <antcall target="compress-sourcecode-core-component" />29 27 <antcall target="compress-imagemagick-component" /> 30 28 <antcall target="compress-ghostscript-component" /> 29 30 <!--<antcall target="compress-sourcecode-component" />--> 31 31 </target> 32 32 … … 74 74 </target> 75 75 76 <!-- sourcecode-core -->77 <target name="prepare-sourcecode-core-component">78 <delete dir="components/tmp/sourcecode-core"/>79 <mkdir dir="components/tmp/sourcecode-core"/>80 81 <copy todir="components/tmp/sourcecode-core" overwrite="true">82 <fileset dir="distribution/source">83 <include name="gli/**/*"/>84 <include name="docs/**/*"/>85 <include name="resources/**/*"/>86 <include name="web/**/*"/>87 <include name="gs2build/etc/**/*"/>88 <include name="gs2build/setup.bash"/>89 <include name="build.xml"/>90 <include name="build.properties"/>91 <include name="*.sh"/>92 <include name="*.txt"/>93 </fileset>94 </copy>95 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/>96 </target>97 98 <target name="compress-sourcecode-core-component">99 <sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>100 </target>101 102 103 76 <!-- sourcecode --> 104 77 <target name="prepare-sourcecode-component"> -
release-kits/mark3/ant-scripts/create-distribution.xml
r17662 r17786 9 9 <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distribution/greenstone3/gli"/></antcall> 10 10 <antcall target="insert-user-manual"/> 11 12 <antcall target="copy-web-to-source-greenstone3" /> <!-- from gs3-targets -->13 11 14 12 <ant target="create-distribution-1" antfile="${mark3.home}/ant-scripts/operations-on-gs3home.xml" dir="distribution/greenstone3" inheritAll="false"> -
release-kits/mark3/installer/antinstall-config.xml
r17742 r17786 42 42 </page> 43 43 44 <!-- start binary release --> 44 45 <page type="input" name="selector" displayText=""> 45 46 <comment name="choose-components"/> 46 47 47 <!-- start binary release core -->48 48 <target 49 49 target="Installing Core System" … … 52 52 defaultValue="true" 53 53 force="true"/> 54 <!-- end binary release core -->55 56 <!-- start source release core -->57 <target58 target="Installing Source Code Core"59 diskRequirement="@component.size.sourcecode-core@"60 displayText=""61 defaultValue="true"62 />63 <!-- end source release core -->64 54 65 55 <!-- start bundled components --> … … 77 67 <!-- end bundled components --> 78 68 79 <!-- start sourcecode -->80 <target81 target="Installing Source Code"82 diskRequirement="@component.size.sourcecode@"83 defaultValue="false"84 displayText=""/>85 <!-- end sourcecode -->86 87 69 </page> 70 <!-- end binary release --> 88 71 89 72 <!-- start bundled components --> -
release-kits/mark3/installer/build.xml
r17715 r17786 67 67 </target> 68 68 69 <!-- sourcecode core system -->70 <target name="Installing Source Code Core">71 72 <echo>Installing Source Code Core</echo>73 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip>74 <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/>75 <delete file="sourcecode-core.lzma"/>76 <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/>77 <delete file="sourcecode-core.comp"/>78 79 <echo>Setting up global properties</echo>80 <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/>81 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" />82 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.server@(.*)" replacement="$1localhost$2" />83 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.port@(.*)" replacement="$1${tomcat.port}$2" />84 85 <echo>Setting up log4j properties</echo>86 <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/>87 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" />88 89 <echo>Creating installation properties file</echo>90 <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo>91 92 93 </target>94 95 96 <!-- Source -->97 <target name="Installing Source Code" depends="">98 <echo>Installing Source Code</echo>99 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode.lzma"/></patternset></unzip>100 <sevenzip task="decode" input="${basedir}/sourcecode.lzma" output="${basedir}/sourcecode.comp"/>101 <delete file="sourcecode.lzma"/>102 <unzip src="${basedir}/sourcecode.comp" dest="${installDir}"/>103 <delete file="sourcecode.comp"/>104 </target>105 106 69 <target name="Installing Tomcat"> 107 70 <echo message="Installing Tomcat (packages/tomcat)"/>
Note:
See TracChangeset
for help on using the changeset viewer.