Changeset 17124 for release-kits/wirk3/installer
- Timestamp:
- 2008-09-03T13:30:37+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk3/installer/build.xml
r17107 r17124 37 37 <target name="install-core-components" depends="load-previous-props"> 38 38 39 <!-- create the installation directory --> 40 <echo message="Creating Installation directory"/> 39 <!-- figure out the start menu path (if not already set from previous installation) --> 40 <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/> 41 41 42 <echo>basedir: ${basedir}</echo> 42 43 <echo>installDir: ${installDir}</echo> 43 44 <echo>antinstaller.jar: ${antinstaller.jar}</echo> 45 <echo>startmenu.path: ${startmenu.path}</echo> 46 47 <!-- create the installation directory --> 48 <echo message="Creating Installation directory"/> 44 49 <mkdir dir="${installDir}"/> 45 50 46 51 <!-- install files --> 47 52 <echo message="Installing Files"/> … … 63 68 <include name="greenstone3-build.xml"/> 64 69 <include name="build.properties"/> 65 <include name="installation.properties"/>66 70 <include name="gs3-server.bat"/> 67 71 <include name="gs3-setup.bat"/> … … 73 77 </unzip> 74 78 <echo/> 75 79 76 80 <!-- rename greenstone3-build.xml back to build.xml --> 77 81 <move file="${installDir}/greenstone3-build.xml" tofile="${installDir}/build.xml" overwrite="true"/> … … 88 92 <rsr file="${installDir}/gs2build/setup.bat" pattern="@gsdlhome@" replacement="${installDir.local}\gs2build" /> 89 93 90 91 94 <!-- copy the greenstone3.xml file to tomcat --> 92 95 <echo message="Copying greenstone3.xml to tomcat directory"/> … … 109 112 <delete dir="${installDir}/resources/icons"/> 110 113 <delete file="${installDir}/resources/*.png"/> 111 114 115 <echo message="Creating installation properties file"/> 116 <echo file="${installDir}\installation.properties">startmenu.path:${startmenu.path}</echo> 117 112 118 </target> 113 119 … … 147 153 <target name="install-start-menu-shortcuts"> 148 154 149 <!-- figure out the start menu path (if not already set from previous installation) -->150 <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/>151 152 155 <mkdir dir="${startmenu.path}\Documentation"/> 153 156 … … 185 188 execute="${installDir}\documentation\manual\gs2_user_en.pdf" /> 186 189 187 <rsr file="${installDir}\installation.properties" pattern="@startmenu.path@" replacement="${startmenu.path}" winPath="true"/>188 189 190 </target> 190 191
Note:
See TracChangeset
for help on using the changeset viewer.