Changeset 17652 for release-kits/lirk3/installer/build.xml
- Timestamp:
- 2008-10-31T15:08:31+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/installer/build.xml
r17646 r17652 42 42 <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/> 43 43 44 45 <echo>Renaming greenstone3-build.xml back to build.xml</echo>46 <move file="${installDir}/greenstone3-build.xml" tofile="${installDir}/build.xml" overwrite="true"/>47 48 44 <echo>Setting Binaries to Executable</echo> 49 45 <chmod dir="${installDir}" includes="*.sh" perm="775"/> … … 69 65 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 70 66 71 <echo>Deleting some unneeded files</echo>72 <delete dir="${installDir}/resources/icons"/>73 <delete file="${installDir}/resources/*.png"/>74 75 67 <echo>Creating installation properties file</echo> 76 68 <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> … … 79 71 80 72 </target> 73 74 <!-- sourcecode core system --> 75 <target name="Installing Source Code Core"> 76 77 <echo>Installing Source Code Core</echo> 78 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 79 <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/> 80 <delete file="sourcecode-core.lzma"/> 81 <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 82 <delete file="sourcecode-core.comp"/> 83 84 <echo>Setting up global properties</echo> 85 <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/> 86 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 87 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.server@(.*)" replacement="$1localhost$2" /> 88 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.port@(.*)" replacement="$1${tomcat.port}$2" /> 89 90 <echo>Setting up log4j properties</echo> 91 <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/> 92 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 93 94 <echo>Creating installation properties file</echo> 95 <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> 96 97 </target> 98 81 99 82 100 <!-- Source -->
Note:
See TracChangeset
for help on using the changeset viewer.