Changeset 17652 for release-kits/mark3/installer/build.xml
- Timestamp:
- 2008-10-31T15:08:31+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/mark3/installer/build.xml
r17609 r17652 34 34 <delete file="core.comp"/> 35 35 36 <!-- rename greenstone3-build.xml back to build.xml -->37 <move file="${installDir}/greenstone3-build.xml" tofile="${installDir}/build.xml" overwrite="true"/>38 39 36 <echo message="Setting Binaries to Executable"/> 40 37 <chmod dir="${installDir}" includes="*.sh" perm="775"/> … … 63 60 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 64 61 65 66 <!-- in the gs3-setup.sh file, set ANT_HOME and put it in PATH (no need anymore)-->67 <!--<echo>In the gs3-setup.sh file, set ANT_HOME and put it in PATH</echo>68 <exec executable="echo" output="${installDir}/gs3-setup.sh" append="true">69 <arg line="export ANT_HOME=${installDir}/packages/ant; export PATH=$ANT_HOME/bin:$PATH;"/>70 </exec>-->71 72 <!-- delete unneeded files -->73 <echo message="Deleting some extraneous files"/>74 <delete dir="${installDir}/resources/icons"/>75 <delete file="${installDir}/resources/*.png"/>76 77 62 <echo>Creating installation properties file</echo> 78 63 <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> … … 81 66 82 67 </target> 68 69 <!-- sourcecode core system --> 70 <target name="Installing Source Code Core"> 71 72 <echo>Installing Source Code Core</echo> 73 <unzip src="${antinstaller.jar}" dest="${basedir}"><patternset><include name="sourcecode-core.lzma"/></patternset></unzip> 74 <sevenzip task="decode" input="${basedir}/sourcecode-core.lzma" output="${basedir}/sourcecode-core.comp"/> 75 <delete file="sourcecode-core.lzma"/> 76 <unzip src="${basedir}/sourcecode-core.comp" dest="${installDir}"/> 77 <delete file="sourcecode-core.comp"/> 78 79 <echo>Setting up global properties</echo> 80 <copy file="${installDir}/resources/java/global.properties.in" tofile="${installDir}/web/WEB-INF/classes/global.properties" overwrite="true"/> 81 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 82 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.server@(.*)" replacement="$1localhost$2" /> 83 <rsr file="${installDir}/web/WEB-INF/classes/global.properties" pattern="(.*)@tomcat.port@(.*)" replacement="$1${tomcat.port}$2" /> 84 85 <echo>Setting up log4j properties</echo> 86 <copy file="${installDir}/resources/java/log4j.properties.in" tofile="${installDir}/web/WEB-INF/classes/log4j.properties" overwrite="true"/> 87 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 88 89 <echo>Creating installation properties file</echo> 90 <echo file="${installDir}/installation.properties">#this file is just a placeholder for now</echo> 91 92 93 </target> 94 83 95 84 96 <!-- Source -->
Note:
See TracChangeset
for help on using the changeset viewer.