Changeset 20190
- Timestamp:
- 2009-08-10T12:12:07+12:00 (15 years ago)
- Location:
- release-kits/shared
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/core/ant-scripts/init.xml
r20112 r20190 316 316 <!-- windows --> 317 317 <else><if><bool><equals arg1="${rk.os}" arg2="windows"/></bool> 318 <copy file="${rk.home}/core/uninstaller/Uninstall. sh" todir="distributions/web"/>318 <copy file="${rk.home}/core/uninstaller/Uninstall.bat" todir="distributions/web"/> 319 319 320 320 <!-- else fail --> … … 346 346 <delete dir="distributions/web"/> 347 347 <mkdir dir="distributions"/> 348 <exec executable="cp" ><arg line="-r compiled distributions/web"/></exec>348 <exec executable="cp" failonerror="true"><arg line="-r compiled distributions/web"/></exec> 349 349 350 350 <!-- else fail --> -
release-kits/shared/greenstone3/installer/build.xml
r20084 r20190 71 71 72 72 <echo>Extracting core component</echo> 73 <ant target="extract-component"><property name="component.name" value="core"/></ant> 73 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="core.lzma"/></patternset></unzip> 74 <!-- if windows --><exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x core.lzma"/></exec><!-- /if --> 75 <!-- if linux|mac --><sevenzip task="decode" input="${basedir}/core.lzma" output="${basedir}/core.comp"/><!-- /if --> 76 <delete file="core.lzma"/> 77 <unzip src="${basedir}/core.comp" dest="${installDir}"/> 78 <delete file="core.comp"/> 74 79 75 80 <echo>Setting binaries to executable</echo> … … 130 135 131 136 <echo>Installing ImageMagick</echo> 132 <ant target="extract-component"><property name="component.name" value="imagemagick"/></ant> 137 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="imagemagick.lzma"/></patternset></unzip> 138 <!-- if windows --><exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x imagemagick.lzma"/></exec><!-- /if --> 139 <!-- if linux|mac --><sevenzip task="decode" input="${basedir}/imagemagick.lzma" output="${basedir}/imagemagick.comp"/><!-- /if --> 140 <delete file="imagemagick.lzma"/> 141 <unzip src="${basedir}/imagemagick.comp" dest="${installDir}"/> 142 <delete file="imagemagick.comp"/> 133 143 134 144 <echo>Setting binaries to executable</echo> … … 145 155 146 156 <echo>Installing Ghostscript</echo> 147 <ant target="extract-component"><property name="component.name" value="ghostscript"/></ant> 157 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="ghostscript.lzma"/></patternset></unzip> 158 <!-- if windows --><exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x ghostscript.lzma"/></exec><!-- /if --> 159 <!-- if linux|mac --><sevenzip task="decode" input="${basedir}/ghostscript.lzma" output="${basedir}/ghostscript.comp"/><!-- /if --> 160 <delete file="ghostscript.lzma"/> 161 <unzip src="${basedir}/ghostscript.comp" dest="${installDir}"/> 162 <delete file="ghostscript.comp"/> 148 163 149 164 <echo>Setting binaries to executable</echo> … … 161 176 <echo>Installing Tomcat (packages/tomcat)</echo> 162 177 <mkdir dir="packages"/> 163 <ant target="extract-component"><property name="component.name" value="tomcat"/></ant> 178 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="tomcat.lzma"/></patternset></unzip> 179 <!-- if windows --><exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x tomcat.lzma"/></exec><!-- /if --> 180 <!-- if linux|mac --><sevenzip task="decode" input="${basedir}/tomcat.lzma" output="${basedir}/tomcat.comp"/><!-- /if --> 181 <delete file="tomcat.lzma"/> 182 <unzip src="${basedir}/tomcat.comp" dest="${installDir}"/> 183 <delete file="tomcat.comp"/> 184 164 185 165 186 <echo>Changing tomcat ports tomcat's server.xml</echo> … … 237 258 <!-- util target to extract the given component --> 238 259 <!-- pass in ${component.name} as a param --> 260 <!-- unused at this time as causes display errors in installer gui! 239 261 <target name="extract-component"> 240 <!- - extract the component into place -->262 <!- - extract the component into place - -> 241 263 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="${component.name}.lzma"/></patternset></unzip> 242 <!- - if windows -->264 <!- - if windows - -> 243 265 <exec dir="${basedir}" executable="${basedir}/7za.exe"><arg line="x ${component.name}.lzma"/></exec> 244 <!- - /if -->245 <!- - if linux|mac -->266 <!- - /if - -> 267 <!- - if linux|mac - -> 246 268 <sevenzip task="decode" input="${basedir}/${component.name}.lzma" output="${basedir}/${component.name}.comp"/> 247 <!- - /if -->269 <!- - /if - -> 248 270 <delete file="${component.name}.lzma"/> 249 271 <unzip src="${basedir}/${component.name}.comp" dest="${installDir}"/> 250 272 <delete file="${component.name}.comp"/> 251 273 </target> 274 --> 252 275 253 276 </project>
Note:
See TracChangeset
for help on using the changeset viewer.