Changeset 17597 for release-kits
- Timestamp:
- 2008-10-24T11:00:08+13:00 (15 years ago)
- Location:
- release-kits
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk2/ant-scripts/build.xml
r17466 r17597 15 15 <property name="rk.home" value="${lirk2.home}" /> 16 16 <property name="rk.os" value="linux" /> 17 <property name="os.suffix" value="linux"/> 17 18 18 19 <!-- IMPORT OTHER ANT SCRIPTS --> … … 20 21 <import file="shared-ant-scripts/operations-on-gli.xml"/> 21 22 <import file="../greenstone2/ant-scripts/rk2-targets.xml"/> 23 22 24 <import file="compile.xml"/> 23 25 <import file="create-distribution.xml"/> -
release-kits/lirk2/ant-scripts/create-installer.xml
r17519 r17597 5 5 <antcall target="copy-installer-files"/> 6 6 <antcall target="make-installer-files-concrete"><param name="java.os" value="linux"/></antcall> <!-- from rk2-targets --> 7 <antcall target="compile-installer"/> 7 <antcall target="compile-binary-installer"/> <!-- from init --> 8 <antcall target="compile-minimal-installer"/> <!-- from init --> 9 <antcall target="compile-source-installer"/> <!-- from init --> 8 10 </target> 9 11 10 12 <target name="copy-installer-files"> 11 <echo>Copying installer files</echo> 13 12 14 <mkdir dir="${basedir}/installer/classes"/> 13 15 <copy todir="${basedir}/installer" file="${lirk2.home}/installer/antinstall-config.xml" overwrite="true"/> … … 28 30 </target> 29 31 30 <target name="compile-installer">31 32 <!-- create the full installer -->33 <installer file="${basedir}/installer/Greenstone-${version}-linux.jar"34 compress="true"35 extractType="NonExtractor"36 installConfig="${basedir}/installer/antinstall-config.xml"37 buildFile="${basedir}/installer/build.xml"38 antInstallLib="${lirk2.home}/packages/ant-installer/lib"39 antLib="${lirk2.home}/packages/ant/lib"40 validateConfig="true"41 failOnError="false"42 icons="bluecurve">43 44 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />45 <zipfileset dir="${basedir}/components" includes="*.lzma"/>46 47 </installer>48 49 <dcff50 file="${basedir}/installer/antinstall-config.xml"51 startTag=".*<!-- start full -->"52 endTag=".*<!-- end full -->"/>53 54 <!-- create the minimal installer -->55 <installer file="${basedir}/installer/Greenstone-${version}-linux-minimal.jar"56 compress="true"57 extractType="NonExtractor"58 installConfig="${basedir}/installer/antinstall-config.xml"59 buildFile="${basedir}/installer/build.xml"60 antInstallLib="${lirk2.home}/packages/ant-installer/lib"61 antLib="${lirk2.home}/packages/ant/lib"62 validateConfig="true"63 failOnError="false"64 icons="bluecurve">65 66 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />67 <zipfileset dir="${basedir}/components" includes="core.lzma"/>68 69 </installer>70 71 72 </target>73 74 32 </project> -
release-kits/lirk2/installer/antinstall-config.xml
r17576 r17597 52 52 force="true"/> 53 53 54 <!-- start sourcecode --> 54 55 <target 55 56 target="Installing Source Code" … … 57 58 defaultValue="false" 58 59 displayText=""/> 60 <!-- end sourcecode --> 59 61 60 62 </page> … … 65 67 </page> 66 68 67 <page type="progress" name="progress" showTargets="true" displayText="" ></page>69 <page type="progress" name="progress" showTargets="true" displayText=""/> 68 70 69 71 </installer> -
release-kits/mark2/ant-scripts/build.xml
r17453 r17597 9 9 10 10 <project name="mark2-build" default="mark2"> 11 12 11 13 12 <!-- CONSTANTS --> … … 45 44 </target> 46 45 46 <property name="os.suffix" value="MacOS-${processor}"/> 47 47 48 <!-- THE MAIN TARGET --> 48 49 <target name="mark2" depends="init,mark2-init"> -
release-kits/mark2/ant-scripts/create-installer.xml
r17453 r17597 5 5 <antcall target="copy-installer-files"/> 6 6 <antcall target="make-installer-files-concrete"/> <!-- from rk2-targets --> 7 <antcall target="compile-installer"/> 7 <antcall target="compile-binary-installer"/> <!-- from init --> 8 <antcall target="compile-minimal-installer"/> <!-- from init --> 9 <antcall target="compile-source-installer"/> <!-- from init --> 8 10 </target> 9 11 10 12 <target name="copy-installer-files"> 11 <echo>Copying installer files</echo>12 13 <mkdir dir="${basedir}/installer/classes"/> 13 14 <copy todir="${basedir}/installer" file="${mark2.home}/installer/antinstall-config.xml" overwrite="true"/> … … 26 27 </target> 27 28 28 <target name="compile-installer">29 <installer file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}.jar"30 compress="true"31 extractType="NonExtractor"32 installConfig="${basedir}/installer/antinstall-config.xml"33 buildFile="${basedir}/installer/build.xml"34 antInstallLib="${mark2.home}/packages/ant-installer/lib"35 antLib="${mark2.home}/packages/ant/lib"36 validateConfig="true"37 failOnError="false"38 icons="bluecurve">39 40 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />41 <zipfileset dir="${basedir}/components" includes="*.lzma"/>42 </installer>43 44 <installer file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}-minimal.jar"45 compress="true"46 extractType="NonExtractor"47 installConfig="${basedir}/installer/antinstall-config.xml"48 buildFile="${basedir}/installer/build.xml"49 antInstallLib="${mark2.home}/packages/ant-installer/lib"50 antLib="${mark2.home}/packages/ant/lib"51 validateConfig="true"52 failOnError="false"53 icons="bluecurve">54 55 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />56 <zipfileset dir="${basedir}/components" includes="core.lzma"/>57 </installer>58 59 </target>60 61 29 </project> -
release-kits/mark2/installer/antinstall-config.xml
r17576 r17597 52 52 displayText=""/> 53 53 54 <!-- start sourcecode --> 54 55 <target 55 56 target="Installing Source Code" … … 57 58 defaultValue="false" 58 59 displayText=""/> 60 <!-- end sourcecode --> 59 61 60 62 </page> … … 65 67 </page> 66 68 67 <page type="progress" name="progress" showTargets=" false" displayText=""></page>69 <page type="progress" name="progress" showTargets="true" displayText=""/> 68 70 69 71 </installer> -
release-kits/mark2/installer/build.xml
r17576 r17597 34 34 35 35 <!-- install files --> 36 <echo message="Installing Core Files"/>36 <echo message="Installing Core System"/> 37 37 <unzip src="${antinstaller.jar}" dest="${installDir}"> 38 38 <patternset> -
release-kits/mark3/ant-scripts/build.xml
r17466 r17597 44 44 </target> 45 45 46 <property name="os.suffix" value="MacOS-${processor}"/> 47 46 48 <!-- THE MAIN TARGET --> 47 49 <target name="mark3" depends="init,mark3-init"> -
release-kits/mark3/ant-scripts/create-installer.xml
r17453 r17597 5 5 <antcall target="copy-installer-files"/> 6 6 <antcall target="make-installer-files-concrete"/> <!-- from rk3-targets --> 7 <antcall target="compile-installer"/> 7 <antcall target="compile-binary-installer"/> <!-- from init --> 8 <antcall target="compile-minimal-installer"/> <!-- from init --> 9 <antcall target="compile-source-installer"/> <!-- from init --> 8 10 </target> 9 11 10 12 <target name="copy-installer-files"> 11 <echo>Getting things ready to compile the installer</echo>12 13 <copy todir="${basedir}/installer" file="${mark3.home}/installer/antinstall-config.xml" overwrite="true" /> 13 14 <copy todir="${basedir}/installer" file="${mark3.home}/installer/build.xml" overwrite="true" /> … … 20 21 </target> 21 22 22 <target name="compile-installer">23 24 <installer file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}.jar"25 compress="true"26 extractType="NonExtractor"27 installConfig="${basedir}/installer/antinstall-config.xml"28 buildFile="${basedir}/installer/build.xml"29 antInstallLib="${mark3.home}/packages/ant-installer/lib"30 antLib="${mark3.home}/packages/ant/lib"31 validateConfig="true"32 failOnError="false"33 icons="bluecurve">34 <zipfileset dir="${basedir}/installer/classes" includes="**/*" /> <!-- installer classes -->35 <zipfileset dir="${basedir}/components" includes="*.lzma"/>36 </installer>37 38 <installer file="${basedir}/installer/Greenstone-${version}-MacOS-${processor}-minimal.jar"39 compress="true"40 extractType="NonExtractor"41 installConfig="${basedir}/installer/antinstall-config.xml"42 buildFile="${basedir}/installer/build.xml"43 antInstallLib="${mark3.home}/packages/ant-installer/lib"44 antLib="${mark3.home}/packages/ant/lib"45 validateConfig="true"46 failOnError="false"47 icons="bluecurve">48 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />49 <zipfileset dir="${basedir}/components" includes="core.lzma"/>50 </installer>51 52 53 </target>54 55 23 </project> -
release-kits/mark3/installer/antinstall-config.xml
r17538 r17597 46 46 47 47 <target 48 target=" install-core-components"48 target="Installing Core System" 49 49 diskRequirement="@component.size.core@" 50 50 defaultValue="true" … … 52 52 force="true"/> 53 53 54 <!-- start bundled components --> 54 55 <target 55 target=" install-tomcat"56 target="Installing Tomcat" 56 57 diskRequirement="@component.size.tomcat@" 57 58 defaultValue="true" … … 59 60 60 61 <target 61 target=" install-ant"62 target="Installing Ant" 62 63 diskRequirement="@component.size.ant@" 63 64 defaultValue="true" 64 65 displayText=""/> 66 <!-- end bundled components --> 65 67 68 <!-- start sourcecode --> 66 69 <target 67 target=" install-source-code"70 target="Installing Source Code" 68 71 diskRequirement="@component.size.sourcecode@" 69 72 defaultValue="false" 70 73 displayText=""/> 74 <!-- end sourcecode --> 71 75 72 76 </page> 73 77 74 <page type="input" name="tomcat-config" ifProperty="(${ install-tomcat}==true)" displayText="">78 <page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText=""> 75 79 76 80 <text property="tomcat.server" defaultValue="localhost" displayText=""/> … … 80 84 </page> 81 85 82 <page type="progress" name="progress" showTargets="false" target="cleanuptarget" displayText=""> 83 </page> 86 <page type="progress" name="progress" showTargets="true" displayText=""/> 84 87 85 88 </installer> -
release-kits/mark3/installer/build.xml
r17468 r17597 17 17 <taskdef name="sevenzip" classname="org.apache.tools.ant.SevenZip" classpathref="project.classpath"/> 18 18 19 <target name=" install-core-components" depends="">19 <target name="Installing Core System" depends=""> 20 20 21 21 <!-- create the installation directory --> … … 83 83 84 84 <!-- Source --> 85 <target name=" install-source-code" depends="">85 <target name="Installing Source Code" depends=""> 86 86 <echo>Installing Source Code</echo> 87 87 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode.lzma"/></patternset></unzip> … … 92 92 </target> 93 93 94 <target name=" install-tomcat">94 <target name="Installing Tomcat"> 95 95 <echo message="Installing Tomcat (packages/tomcat)"/> 96 96 <mkdir dir="packages"/> … … 118 118 </target> 119 119 120 <target name=" install-ant">120 <target name="Installing Ant"> 121 121 122 122 <!-- extract the files --> … … 134 134 </target> 135 135 136 137 138 <target name="cleanuptarget">139 </target>140 141 142 136 </project> -
release-kits/wirk2/ant-scripts/build.xml
r17466 r17597 18 18 <property name="rk.home" value="${wirk2.home}" /> 19 19 <property name="rk.os" value="windows" /> 20 <property name="os.suffix" value="win32"/> 20 21 21 22 <!-- IMPORT OTHER ANT SCRIPTS --> -
release-kits/wirk2/ant-scripts/create-installer.xml
r17583 r17597 5 5 <antcall target="copy-installer-files"/> 6 6 <antcall target="make-installer-files-concrete"><param name="java.os" value="windows"/></antcall> <!-- from rk2-targets --> 7 <antcall target="compile-installer"/> 7 <antcall target="compile-binary-installer"/> <!-- from init --> 8 <antcall target="compile-minimal-installer"/> <!-- from init --> 9 <antcall target="compile-source-installer"/> <!-- from init --> 8 10 </target> 9 11 10 12 <target name="copy-installer-files"> 11 <echo>Copying installer files</echo> 13 12 14 <mkdir dir="${basedir}/installer/classes"/> 13 15 <copy todir="${basedir}/installer" file="${wirk2.home}/installer/antinstall-config.xml" overwrite="true"/> … … 27 29 28 30 </target> 29 30 <target name="compile-installer">31 32 <!-- binary installer -->33 <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-binary.xml"/>34 <dcff file="${basedir}/installer/antinstall-config-binary.xml" startTag=".*<!-- start sourcecode -->.*" endTag=".*<!-- end sourcecode -->.*" />35 <installer file="${basedir}/installer/greenstone-${version}-win32.jar"36 compress="true"37 extractType="NonExtractor"38 installConfig="${basedir}/installer/antinstall-config-binary.xml"39 buildFile="${basedir}/installer/build.xml"40 antInstallLib="${wirk2.home}/packages/ant-installer/lib"41 antLib="${wirk2.home}/packages/ant/lib"42 validateConfig="true"43 icons="bluecurve">44 45 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />46 <zipfileset dir="${basedir}/components" includes="*.lzma" excludes="sourcecode.lzma" />47 </installer>48 49 <!-- minimal installer -->50 <copy file="${basedir}/installer/antinstall-config.xml" tofile="${basedir}/installer/antinstall-config-minimal.xml"/>51 <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*<!-- start bundled components -->.*" endTag=".*<!-- end bundled components -->.*" />52 <dcff file="${basedir}/installer/antinstall-config-minimal.xml" startTag=".*<!-- start sourcecode -->.*" endTag=".*<!-- end sourcecode -->.*" />53 <installer file="${basedir}/installer/Greenstone-${version}-win32-minimal.jar"54 compress="true"55 extractType="NonExtractor"56 installConfig="${basedir}/installer/antinstall-config-minimal.xml"57 buildFile="${basedir}/installer/build.xml"58 antInstallLib="${wirk2.home}/packages/ant-installer/lib"59 antLib="${wirk2.home}/packages/ant/lib"60 validateConfig="true"61 icons="bluecurve">62 63 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />64 <zipfileset dir="${basedir}/components" includes="core.lzma" />65 </installer>66 67 </target>68 31 69 32 </project> -
release-kits/wirk2/installer/antinstall-config.xml
r17583 r17597 72 72 defaultValue="true" 73 73 displayText=""/> 74 74 75 <target 75 76 target="Installing Ghostscript" … … 94 95 </page> 95 96 96 <page type="progress" name="progress" showTargets="true" displayText="" ></page>97 <page type="progress" name="progress" showTargets="true" displayText=""/> 97 98 98 99 </installer> -
release-kits/wirk3/ant-scripts/build.xml
r17466 r17597 18 18 <property name="rk.home" value="${wirk3.home}" /> 19 19 <property name="rk.os" value="windows" /> 20 <property name="os.suffix" value="win32"/> 20 21 21 22 <!-- IMPORT OTHER ANT SCRIPTS --> -
release-kits/wirk3/ant-scripts/create-installer.xml
r17538 r17597 5 5 <antcall target="copy-installer-files"/> 6 6 <antcall target="make-installer-files-concrete"><param name="java.os" value="windows"/></antcall> <!-- from rk3-targets --> 7 <antcall target="compile-installer"/> 7 <antcall target="compile-binary-installer"/> <!-- from init --> 8 <antcall target="compile-minimal-installer"/> <!-- from init --> 9 <antcall target="compile-source-installer"/> <!-- from init --> 8 10 </target> 9 11 10 12 <target name="copy-installer-files"> 11 12 <echo>Getting things ready to compile the installer</echo>13 13 14 14 <!-- the installer descriptors --> … … 37 37 38 38 </target> 39 40 <target name="compile-installer">41 42 <installer file="${basedir}/installer/Greenstone-${version}-win32.jar"43 compress="true"44 extractType="NonExtractor"45 installConfig="${basedir}/installer/antinstall-config.xml"46 buildFile="${basedir}/installer/build.xml"47 antInstallLib="${wirk3.home}/packages/ant-installer/lib"48 antLib="${wirk3.home}/packages/ant/lib"49 validateConfig="true"50 icons="bluecurve">51 52 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />53 <zipfileset dir="${basedir}/components" includes="*.lzma" />54 55 </installer>56 57 <dcff file="${basedir}/installer/antinstall-config.xml" startTag=".*<!-- start full -->.*" endTag=".*<!-- end full -->.*" />58 59 <installer file="${basedir}/installer/Greenstone-${version}-win32-minimal.jar"60 compress="true"61 extractType="NonExtractor"62 installConfig="${basedir}/installer/antinstall-config.xml"63 buildFile="${basedir}/installer/build.xml"64 antInstallLib="${wirk3.home}/packages/ant-installer/lib"65 antLib="${wirk3.home}/packages/ant/lib"66 validateConfig="true"67 icons="bluecurve">68 <zipfileset dir="${basedir}/installer/classes" includes="**/*" />69 <zipfileset dir="${basedir}/components" includes="core.lzma" />70 </installer>71 </target>72 73 39 74 40 </project> -
release-kits/wirk3/installer/antinstall-config.xml
r17538 r17597 46 46 47 47 <target 48 target="install-core-components" 48 target="Looking For Previous Installation" 49 diskRequirement="x" 50 defaultValue="true" 51 displayText="x" 52 force="true" 53 hidden="true"/> 54 55 <target 56 target="Installing Core System" 49 57 diskRequirement="@component.size.core@" 50 58 defaultValue="true" … … 53 61 54 62 <target 55 target=" install-start-menu-shortcuts"63 target="Installing Start Menu Shortcuts" 56 64 diskRequirement="~10 KB" 57 65 defaultValue="true" 58 66 displayText=""/> 59 67 60 <!-- start full-->68 <!-- start bundled components --> 61 69 <target 62 target=" install-tomcat"70 target="Installing Tomcat" 63 71 diskRequirement="@component.size.tomcat@" 64 72 defaultValue="true" … … 66 74 67 75 <target 68 target=" install-ant"76 target="Installing Ant" 69 77 diskRequirement="@component.size.ant@" 70 78 defaultValue="true" … … 72 80 73 81 <target 74 target=" install-imagemagick"82 target="Installing ImageMagick" 75 83 diskRequirement="@component.size.imagemagick@" 76 84 defaultValue="true" … … 78 86 79 87 <target 80 target=" install-ghostscript"88 target="Installing Ghostscript" 81 89 diskRequirement="@component.size.ghostscript@" 82 90 defaultValue="true" 83 91 displayText=""/> 92 <!-- end bundled components --> 84 93 94 <!-- start sourcecode --> 85 95 <target 86 target=" install-source-code"96 target="Installing Source Code" 87 97 diskRequirement="@component.size.sourcecode@" 88 98 defaultValue="false" 89 99 displayText=""/> 90 <!-- end full --> 100 <!-- end sourcecode --> 101 91 102 </page> 92 103 93 <!-- start full --> 94 <page type="input" name="tomcat-config" ifProperty="(${install-tomcat}==true)" displayText=""> 104 <page type="input" name="tomcat-config" ifProperty="(${Installing Tomcat}==true)" displayText=""> 95 105 96 106 <text property="tomcat.server" defaultValue="localhost" displayText=""/> … … 99 109 100 110 </page> 101 <!-- end full -->102 111 103 <page type="progress" name="progress" showTargets="false" target="cleanuptarget" displayText=""> 104 </page> 112 <page type="progress" name="progress" showTargets="true" displayText=""/> 105 113 106 114 </installer> -
release-kits/wirk3/installer/build.xml
r17477 r17597 32 32 <available file="${installDir}\installation.properties" property="is.overinstall"/> 33 33 34 <target name=" load-previous-props" if="is.overinstall">35 <property file="${installDir}\ installation.properties"/>36 </target> 37 38 <target name=" install-core-components" depends="load-previous-props">34 <target name="Looking For Previous Installation" if="is.overinstall"> 35 <property file="${installDir}\etc\installation.properties"/> 36 </target> 37 38 <target name="Installing Core System"> 39 39 40 40 <!-- figure out the start menu path (if not already set from previous installation) --> … … 111 111 112 112 <!-- Source --> 113 <target name=" install-source-code">113 <target name="Installing Source Code"> 114 114 <echo message="Installing Source Code (src)"/> 115 115 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode.lzma"/></patternset></unzip> … … 120 120 </target> 121 121 122 <target name=" install-tomcat">122 <target name="Installing Tomcat"> 123 123 124 124 <echo message="Installing Apache Tomcat"/> … … 136 136 </target> 137 137 138 <target name=" install-ant">138 <target name="Installing Ant"> 139 139 <echo message="Installing Apache Ant"/> 140 140 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="ant.lzma"/></patternset></unzip> … … 145 145 </target> 146 146 147 <target name=" install-imagemagick">147 <target name="Installing ImageMagick"> 148 148 <echo message="Installing ImageMagick"/> 149 149 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="imagemagick.lzma"/></patternset></unzip> … … 154 154 </target> 155 155 156 <target name=" install-ghostscript">156 <target name="Installing Ghostscript"> 157 157 <echo message="Installing GhostScript"/> 158 158 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="ghostscript.lzma"/></patternset></unzip> … … 163 163 </target> 164 164 165 <target name="cleanuptarget"> 166 </target> 167 168 <target name="install-start-menu-shortcuts"> 165 <target name="Installing Start Menu Shortcuts"> 169 166 170 167 <mkdir dir="${startmenu.path}\Documentation"/>
Note:
See TracChangeset
for help on using the changeset viewer.