Changeset 16930 for release-kits/wirk3/installer/build.xml
- Timestamp:
- 2008-08-21T11:15:58+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/wirk3/installer/build.xml
r16749 r16930 15 15 <!-- custom tasks --> 16 16 <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/> 17 <typedef name="getfreepath" classname="GetFreePath" classpathref="project.classpath"/> 17 18 <taskdef name="shortcut" classname="com.orangevolt.tools.ant.Win32ShortcutTask" classpathref="project.classpath"/> 18 19 <taskdef name="winprops" classname="com.orangevolt.tools.ant.Win32PropertiesTask" classpathref="project.classpath"/> … … 26 27 <!-- load windows properties --> 27 28 <winprops/> 29 30 <!-- determine if there is an existing installation in the installDir--> 31 <available file="${installDir}\installation.properties" property="is.overinstall"/> 32 33 <target name="load-previous-props" if="is.overinstall"> 34 <property file="${installDir}\installation.properties"/> 35 </target> 28 36 29 30 <target name="install-core-components"> 37 <target name="install-core-components" depends="load-previous-props"> 31 38 32 39 <!-- create the installation directory --> … … 53 60 <include name="greenstone3-build.xml"/> 54 61 <include name="build.properties"/> 62 <include name="installation.properties"/> 55 63 <include name="gs3-server.bat"/> 56 64 <include name="gs3-setup.bat"/> … … 133 141 <target name="install-start-menu-shortcuts"> 134 142 135 <mkdir dir="${win32.personal.programs_menu}\Greenstone-@version@\Documentation"/> 143 <!-- figure out the start menu path (if not already set from previous installation) --> 144 <getfreepath path="${win32.personal.programs_menu}\Greenstone-@version@" property="startmenu.path"/> 145 146 <mkdir dir="${startmenu.path}\Documentation"/> 136 147 137 148 <shortcut 138 file="${ win32.personal.programs_menu}\Greenstone-@version@\Greenstone3 Server.lnk"149 file="${startmenu.path}\Greenstone3 Server.lnk" 139 150 execute="${installDir}\gs3-server.bat" 140 151 workingDirectory="${installDir}" … … 143 154 144 155 <shortcut 145 file="${ win32.personal.programs_menu}\Greenstone-@version@\Greenstone Librarian Interface (GLI).lnk"156 file="${startmenu.path}\Greenstone Librarian Interface (GLI).lnk" 146 157 execute="${installDir}\gli\gli.bat" 147 158 workingDirectory="${installDir}\gli" … … 150 161 151 162 <shortcut 152 file="${ win32.personal.programs_menu}\Greenstone-@version@\Greenstone Editor for Metadata Sets (GEMS).lnk"163 file="${startmenu.path}\Greenstone Editor for Metadata Sets (GEMS).lnk" 153 164 execute="${installDir}\gli\gems4gs3.bat" 154 165 workingDirectory="${installDir}\gli" 155 166 iconFile="${installDir}\resources\images\gs3.ico" 156 167 iconIndex="0" /> 157 168 158 169 <shortcut 159 file="${ win32.personal.programs_menu}\Greenstone-@version@\Documentation\README.lnk"170 file="${startmenu.path}\Documentation\README.lnk" 160 171 execute="${installDir}\README.txt" /> 161 172 162 173 <shortcut 163 file="${ win32.personal.programs_menu}\Greenstone-@version@\Documentation\Greenstone3 Users' Guide.lnk"174 file="${startmenu.path}\Documentation\Greenstone3 Users' Guide.lnk" 164 175 execute="${installDir}\documentation\manual\manual.pdf" /> 165 176 166 177 <shortcut 167 file="${ win32.personal.programs_menu}\Greenstone-@version@\Documentation\Greenstone2 Users' Guide.lnk"178 file="${startmenu.path}\Documentation\Greenstone2 Users' Guide.lnk" 168 179 execute="${installDir}\documentation\manual\gs2_user_en.pdf" /> 169 180 181 <rsr file="${installDir}\installation.properties" pattern="@startmenu.path@" replacement="${startmenu.path}" winPath="true"/> 170 182 171 183 </target>
Note:
See TracChangeset
for help on using the changeset viewer.