Changeset 17652 for release-kits/wirk2
- Timestamp:
- 2008-10-31T15:08:31+13:00 (15 years ago)
- Location:
- release-kits/wirk2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk2/ant-scripts/create-components.xml
r17472 r17652 2 2 <project name="wirk2-create-components" default="create-components"> 3 3 4 <!-- create components from the distribution folder --> 4 5 6 <!-- 1st level --> 5 7 <target name="create-components"> 6 8 <antcall target="prepare-components" /> … … 8 10 </target> 9 11 10 <!-- create components from the distribution folder-->12 <!-- 2nd level --> 11 13 <target name="prepare-components"> 12 14 <antcall target="prepare-core-component" /> … … 14 16 <antcall target="prepare-ghostscript-component" /> 15 17 <antcall target="prepare-sourcecode-component" /> 18 <antcall target="prepare-sourcecode-core-component" /> 16 19 </target> 17 20 … … 21 24 <antcall target="compress-ghostscript-component" /> 22 25 <antcall target="compress-sourcecode-component" /> 26 <antcall target="compress-sourcecode-core-component" /> 23 27 </target> 24 28 25 26 27 29 <!-- 3rd level --> 28 30 <target name="prepare-core-component"> 29 31 <!-- delete old stuff to create new components --> … … 121 123 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 sourcecode.lzma sourcecode.comp"/></exec> 122 124 </target> 125 126 <target name="prepare-sourcecode-core-component"> 127 <delete dir="components/tmp/sourcecode-core"/> 128 <mkdir dir="components/tmp/sourcecode-core"/> 129 130 <copy todir="components/tmp/sourcecode-core" overwrite="true"> 131 <fileset dir="distributions/source"> 132 <include name="macros/**/*"/> 133 <include name="images/**/*"/> 134 <include name="etc/**/*"/> 135 <include name="gli/**/*"/> 136 <include name="collect/**/*"/> 137 <include name="doc/**/*"/> 138 <include name="setup.bash"/> 139 </fileset> 140 </copy> 141 <zip destfile="components/sourcecode-core.comp" basedir="components/tmp/sourcecode-core" compress="false" includes="**/*"/> 142 </target> 143 144 <target name="compress-sourcecode-core-component"> 145 <!--<sevenzip task="encode" input="components/sourcecode-core.comp" output="components/sourcecode-core.lzma" dictionnary="26"/>--> 146 <exec executable="7z.exe" dir="components"><arg line="a -t7z -mx=9 sourcecode-core.lzma sourcecode-core.comp"/></exec> 147 </target> 148 123 149 124 150 -
release-kits/wirk2/ant-scripts/create-distribution.xml
r17583 r17652 3 3 4 4 <target name="create-distribution"> 5 5 6 <antcall target="export-gsdl-gli" /> 6 7 <antcall target="dist-set-version" /> 8 <antcall target="gli-set-version-numbers"><param name="glibasedir" value="${basedir}/distributions/web/gli"/></antcall> 9 <antcall target="drop-in-docs" /> 10 <antcall target="tweak-files" /> 11 <antcall target="remove-unneeded-files-1" /> 12 13 <antcall target="copy-web-to-source" /> <!-- from init --> 14 7 15 <antcall target="drop-in-binaries" /> 8 16 <antcall target="drop-in-demo-collection" /> 9 <antcall target="drop-in-docs" />10 17 <antcall target="drop-in-misc" /> 11 18 <antcall target="insert-uninstaller"><param name="script-format" value="bat"/></antcall> <!-- from rk2-targets --> 12 19 <antcall target="compile-gli" /> 13 <antcall target="tweak-files" /> 20 <antcall target="remove-unneeded-files-2" /> 21 14 22 </target> 15 23 … … 96 104 <rsr file="${basedir}/distributions/web/Support.htm" pattern="^(\s*<input.* name="gsdl version".* value=").*(".*>)" replacement="$1${version}$2"/> 97 105 106 </target> 98 107 99 <echo level="info">Removing signed gatherer</echo> 100 <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" /> 101 102 <echo level="info">Removing some unneeded stuff</echo> 108 <target name="remove-unneeded-files-1"> 103 109 <delete file="${basedir}/distributions/web/gli/.greenstonestore" /> 104 110 <delete dir="${basedir}/distributions/web/bin/linux" /> … … 107 113 </target> 108 114 115 <target name="remove-unneeded-files-2"> 116 <delete file="${basedir}/distributions/web/bin/java/SignedGatherer.jar" /> 117 </target> 118 119 109 120 </project> -
release-kits/wirk2/installer/antinstall-config.xml
r17597 r17652 53 53 hidden="true"/> 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 <target -
release-kits/wirk2/installer/build.xml
r17638 r17652 36 36 <target name="Installing Core System"> 37 37 38 <!-- figure out the start menu path (if not already set from previous installation)-->38 <!-- figure out the start menu path --> 39 39 <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/> 40 40 <path id="startmenu.path.path" path="${startmenu.path}"/> … … 107 107 </target> 108 108 109 <target name="Installing Source Code Core"> 110 111 <!-- figure out the start menu path --> 112 <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/> 113 <path id="startmenu.path.path" path="${startmenu.path}"/> 114 <pathconvert targetos="unix" property="startmenu.path.unix" refid="startmenu.path.path"/> 115 116 <echo>basedir: ${basedir}</echo> 117 <echo>installDir: ${installDir}</echo> 118 <echo>antinstaller.jar: ${antinstaller.jar}</echo> 119 <echo>startmenu.path: ${startmenu.path}</echo> 120 121 <!-- create the installation directory --> 122 <echo message="Creating Installation directory"/> 123 <mkdir dir="${installDir}"/> 124 125 <!-- extract 7za tool --> 126 <unzip src="${antinstaller.jar}" dest="${basedir}"> 127 <patternset><include name="7za.exe"/></patternset> 128 </unzip> 129 130 <!-- install files --> 131 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 132 <exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x sourcecode-core.lzma"/></exec> 133 <delete file="sourcecode-core.lzma"/> 134 <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 135 <delete file="sourcecode-core.comp"/> 136 137 <echo message="Filling in concrete values in config files"/> 138 <rsr file="${installDir}/setup.bat" pattern="\*\*GSDLHOME\*\*" replacement="${installDir}"/> 139 140 <echo message="Creating installation properties file"/> 141 <echo file="${installDir}\etc\installation.properties">installed.startmenu.path:${startmenu.path.unix}</echo> 142 143 <echo message="Finished"/> 144 145 </target> 146 109 147 <!-- Source --> 110 148 <target name="Installing Source Code">
Note:
See TracChangeset
for help on using the changeset viewer.