Changeset 16633 for release-kits/wirk2
- Timestamp:
- 2008-08-01T15:42:20+12:00 (16 years ago)
- Location:
- release-kits/wirk2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk2/ant-scripts/compile.xml
r16458 r16633 25 25 <target name="set-version-numbers"> 26 26 <if><bool><istrue value="${execute}"/></bool> 27 <rsr file="${basedir}/gsdl/ src/lib/gsdlconf.h" pattern="(#define GSDL_VERSION ).*" replacement="$1"${version}"" />27 <rsr file="${basedir}/gsdl/common-src/src/lib/gsdlconf.h" pattern="(#define GSDL_VERSION ).*" replacement="$1"${version}"" /> 28 28 <rsr file="${basedir}/gsdl/Install.sh" pattern="(echo "Version: ).*(" .*)" replacement="$1${version}$2" /> 29 29 <rsr file="${basedir}/gsdl/etc/VERSION" pattern="(gsdl version: ).*" replacement="$1${version}" /> … … 33 33 <target name="unzip-packages"> 34 34 <if><bool><istrue value="${execute}"/></bool> 35 <unzip src="${basedir}/gsdl/ packages/windows/crypt/crypt.zip" dest="${basedir}/gsdl/packages/windows/crypt"/>36 <unzip src="${basedir}/gsdl/ packages/windows/expat/expat.zip" dest="${basedir}/gsdl/packages/windows/expat"/>37 <unzip src="${basedir}/gsdl/ packages/windows/gdbm/gdbm.zip" dest="${basedir}/gsdl/packages/windows/gdbm"/>38 <unzip src="${basedir}/gsdl/ packages/windows/stlport/stlport.zip" dest="${basedir}/gsdl/packages/windows/stlport"/>35 <unzip src="${basedir}/gsdl/common-src/packages/windows/crypt/crypt.zip" dest="${basedir}/gsdl/common-src/packages/windows/crypt"/> 36 <unzip src="${basedir}/gsdl/common-src/packages/windows/expat/expat.zip" dest="${basedir}/gsdl/common-src/packages/windows/expat"/> 37 <unzip src="${basedir}/gsdl/common-src/packages/windows/gdbm/gdbm.zip" dest="${basedir}/gsdl/common-src/packages/windows/gdbm"/> 38 <unzip src="${basedir}/gsdl/common-src/packages/windows/stlport/stlport.zip" dest="${basedir}/gsdl/common-src/packages/windows/stlport"/> 39 39 </if> 40 40 </target> -
release-kits/wirk2/ant-scripts/create-distribution.xml
r16458 r16633 30 30 31 31 <echo level="info">Setting version in src/lib/gsdlconf.h</echo> 32 <rsr file="${basedir}/distributions/web/ src/lib/gsdlconf.h" pattern="(#define GSDL_VERSION) ".*"" replacement="$1 "${version}"" />32 <rsr file="${basedir}/distributions/web/common-src/src/lib/gsdlconf.h" pattern="(#define GSDL_VERSION) ".*"" replacement="$1 "${version}"" /> 33 33 34 34 <echo level="info">Setting version in etc/VERSION</echo> -
release-kits/wirk2/ant-scripts/create-installer.xml
r16280 r16633 11 11 12 12 <mkdir dir="${basedir}/installer/classes"/> 13 <copy todir="${basedir}/installer" file="${wirk2.home}/installer/antinstall-config.xml" />14 <copy todir="${basedir}/installer" file="${wirk2.home}/installer/build.xml" />15 <copy todir="${basedir}/installer/classes" >13 <copy todir="${basedir}/installer" file="${wirk2.home}/installer/antinstall-config.xml" overwrite="true"/> 14 <copy todir="${basedir}/installer" file="${wirk2.home}/installer/build.xml" overwrite="true"/> 15 <copy todir="${basedir}/installer/classes" overwrite="true"> 16 16 <fileset dir="${wirk2.home}/greenstone2/installer-classes"/> 17 17 <fileset dir="${wirk2.home}/windows/installer-classes"/> -
release-kits/wirk2/ant-scripts/wrap.xml
r16204 r16633 18 18 19 19 <!-- copy source files --> 20 <copy todir="${basedir}/wrapped-installer/build" file="${wirk2.home}/windows/wrapper/wrapper.cpp" />21 <copy todir="${basedir}/wrapped-installer/build" file="${wirk2.home}/packages/search4j/libsearch4j.cpp" />22 <copy todir="${basedir}/wrapped-installer/build" file="${wirk2.home}/packages/search4j/libsearch4j.h" />20 <copy todir="${basedir}/wrapped-installer/build" file="${wirk2.home}/windows/wrapper/wrapper.cpp" overwrite="true"/> 21 <copy todir="${basedir}/wrapped-installer/build" file="${wirk2.home}/packages/search4j/libsearch4j.cpp" overwrite="true"/> 22 <copy todir="${basedir}/wrapped-installer/build" file="${wirk2.home}/packages/search4j/libsearch4j.h" overwrite="true"/> 23 23 24 24 </if> … … 60 60 61 61 <echo>copying the small resource files into place</echo> 62 <copy todir="${basedir}/wrapped-installer/build" >62 <copy todir="${basedir}/wrapped-installer/build" overwrite="true"> 63 63 <fileset dir="${wirk2.home}/windows/wrapper" includes="*.bmp"/> 64 64 <fileset dir="${wirk2.home}/greenstone2/wrapper" includes="*.bmp"/> … … 82 82 83 83 <echo>making a copy of the resource script</echo> 84 <copy file="${basedir}/wrapped-installer/build/wrapper.rc" tofile="${basedir}/wrapped-installer/build/wrapper-with-jre.rc" />84 <copy file="${basedir}/wrapped-installer/build/wrapper.rc" tofile="${basedir}/wrapped-installer/build/wrapper-with-jre.rc" overwrite="true"/> 85 85 86 86 <echo>adding ${windows-java.installer} to the copy as chunks</echo> -
release-kits/wirk2/installer/antinstall-config.xml
r16087 r16633 37 37 <target target="install-core-components" defaultValue="true" force="true" displayText="" /> 38 38 <target target="install-source-code" defaultValue="false" displayText="" /> 39 <target target="install-start-menu-shortcuts" defaultValue="true" displayText="" /> 39 40 40 41 </page> -
release-kits/wirk2/installer/build.xml
r16244 r16633 15 15 <!-- custom tasks --> 16 16 <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/> 17 <taskdef name="shortcut" classname="com.orangevolt.tools.ant.Win32ShortcutTask" classpathref="project.classpath"/> 18 <taskdef name="winprops" classname="com.orangevolt.tools.ant.Win32PropertiesTask" classpathref="project.classpath"/> 17 19 18 20 <condition property="bundled.java.exists"> … … 20 22 </condition> 21 23 24 <!-- load windows properties --> 25 <winprops/> 22 26 23 27 <target name="install-core-components" depends=""> … … 30 34 <echo message="Creating Installation directory"/> 31 35 <mkdir dir="${installDir}"/> 32 33 36 37 34 38 <!-- install files --> 35 39 <echo message="Installing GLI (gli)"/> 36 40 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="gli/**/*"/></patternset></unzip> 37 41 <echo/> 38 42 39 43 <echo message="Installing Executable Binaries (bin)"/> 40 44 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="bin/**/*"/></patternset></unzip> 41 45 <echo/> 42 46 43 47 <echo message="Installing CGI Binaries (cgi-bin)"/> 44 48 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="cgi-bin/**/*"/></patternset></unzip> 45 49 <echo/> 46 50 47 51 <echo message="Installing Config Folder (etc)"/> 48 52 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="etc/**/*"/></patternset></unzip> 49 53 <echo/> 50 54 51 55 <echo message="Installing mappings (mappings)"/> 52 56 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="mappings/**/*"/></patternset></unzip> 53 57 <echo/> 54 55 <echo message="Installing Packages (packages)"/> 56 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="packages/**/*"/></patternset></unzip> 57 <echo/> 58 58 59 59 60 <echo message="Installing Images (images)"/> 60 61 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="images/**/*"/></patternset></unzip> 61 62 <echo/> 62 63 63 64 <echo message="Installing Perl Libraries (perllib)"/> 64 65 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="perllib/**/*"/></patternset></unzip> 65 66 <echo/> 66 67 67 68 <echo message="Installing Indexers (indexers)"/> 68 69 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="indexers/**/*"/></patternset></unzip> 69 70 <echo/> 70 71 71 72 <echo message="Installing Macros (macros)"/> 72 73 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="macros/**/*"/></patternset></unzip> 73 74 <echo/> 74 75 75 76 <echo message="Installing Collect Folder (collect)"/> 76 77 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="collect/**/*"/></patternset></unzip> … … 91 92 </unzip> 92 93 <echo/> 93 94 94 95 <!-- delete unneeded files --> 95 96 <echo message="Deleting some extraneous files"/> 96 97 <delete dir="${installDir}/resources/icons"/> 97 98 <delete file="${installDir}/resources/*.png"/> 98 99 99 100 <echo message="Finished"/> 100 101 101 102 </target> 102 103 103 104 <!-- Source --> 104 105 <target name="install-source-code" depends=""> 105 <echo message="Installing Source Code (src)"/> 106 107 <echo message="Installing Source Code (src)"/> 108 <echo message="Installing Packages (packages)"/> 109 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="packages/**/*"/></patternset></unzip> 110 <echo/> 111 106 112 <mkdir dir="${installDir}/src"/> 107 113 <unzip src="${antinstaller.jar}" dest="${installDir}"><patternset><include name="src/**/*"/></patternset></unzip> 114 115 </target> 116 117 <!-- Start menu shortcuts --> 118 <target name="install-start-menu-shortcuts"> 119 120 <mkdir dir="${win32.personal.programs_menu}\Greenstone-@version@\Documentation"/> 121 122 <shortcut 123 file="${win32.personal.programs_menu}\Greenstone-@version@\Greenstone2 Server.lnk" 124 execute="${installDir}\bin\windows\server.exe" 125 workingDirectory="${installDir}" 126 iconFile="${installDir}\images\icon.ico" 127 iconIndex="0" /> 128 129 <shortcut 130 file="${win32.personal.programs_menu}\Greenstone-@version@\Greenstone Librarian Interface (GLI).lnk" 131 execute="${installDir}\gli\gli.bat" 132 workingDirectory="${installDir}\gli" 133 iconFile="${installDir}\images\icon.ico" 134 iconIndex="0" /> 135 136 <shortcut 137 file="${win32.personal.programs_menu}\Greenstone-@version@\Greenstone Editor for Metadata Sets (GEMS).lnk" 138 execute="${installDir}\gli\gems4gs3.bat" 139 workingDirectory="${installDir}\gli" 140 iconFile="${installDir}\images\icon.ico" 141 iconIndex="0" /> 142 143 <shortcut 144 file="${win32.personal.programs_menu}\Greenstone-@version@\Documentation\READMEen.lnk" 145 execute="${installDir}\READMEen.txt" /> 146 <shortcut 147 file="${win32.personal.programs_menu}\Greenstone-@version@\Documentation\READMEes.lnk" 148 execute="${installDir}\READMEes.txt" /> 149 <shortcut 150 file="${win32.personal.programs_menu}\Greenstone-@version@\Documentation\READMEar.lnk" 151 execute="${installDir}\READMEar.txt" /> 152 <shortcut 153 file="${win32.personal.programs_menu}\Greenstone-@version@\Documentation\READMEfr.lnk" 154 execute="${installDir}\READMEfr.txt" /> 155 <shortcut 156 file="${win32.personal.programs_menu}\Greenstone-@version@\Documentation\READMEru.lnk" 157 execute="${installDir}\READMEru.txt" /> 108 158 </target> 109 159 110 <target name="cleanuptarget"> 111 < /target>160 161 <target name="cleanuptarget"></target> 112 162 113 163
Note:
See TracChangeset
for help on using the changeset viewer.