Changeset 15142 for release-kits/lirk3/installer/build.xml
- Timestamp:
- 2008-03-28T12:43:46+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/lirk3/installer/build.xml
r14982 r15142 4 4 --> 5 5 6 <project name="Installation" default="" basedir="${basedir}">6 <project name="Installation" default=""> 7 7 8 8 <!-- this is required to pick up the properties generated during the install pages --> … … 15 15 <!-- custom tasks --> 16 16 <typedef name="rsr" classname="RegexSearchReplace" classpathref="project.classpath"/> 17 18 <condition property="bundled.java.exists"> 19 <available file="../@java.extracted@/bin/java"/> 20 </condition> 21 17 22 18 23 <target name="default" depends=""> … … 76 81 <chmod dir="${installDir}" includes="*.sh" perm="775"/> 77 82 <chmod dir="${installDir}/bin/script" includes="*" perm="775"/> 83 <chmod dir="${installDir}/bin" includes="*" perm="775"/> 78 84 <chmod dir="${installDir}/packages/tomcat/bin" includes="*.sh" perm="775"/> 85 <chmod dir="${installDir}/packages/ant/bin" includes="*" perm="775"/> 79 86 <chmod dir="${installDir}/gs2build/bin/linux" includes="*" perm="775"/> 80 87 <chmod dir="${installDir}/gs2build/bin/script" includes="**/*" perm="775"/> … … 110 117 <rsr file="${installDir}/web/WEB-INF/classes/log4j.properties" pattern="(.*)@gsdl3home@(.*)" replacement="$1${installDir}/web$2" /> 111 118 112 <!-- in the gs3-setup.sh file, set ANT_HOME and put it in PATH --> 113 <echo>In the gs3-setup.sh file, set ANT_HOME and put it in PATH</echo> 119 120 <!-- in the gs3-setup.sh file, set ANT_HOME and put it in PATH (no need anymore)--> 121 <!--<echo>In the gs3-setup.sh file, set ANT_HOME and put it in PATH</echo> 114 122 <exec executable="echo" output="${installDir}/gs3-setup.sh" append="true"> 115 123 <arg line="export ANT_HOME=${installDir}/packages/ant; export PATH=$ANT_HOME/bin:$PATH;"/> 116 </exec> 124 </exec>--> 117 125 118 126 <!-- delete unneeded files --> 127 <echo message="Deleting some extraneous files"/> 119 128 <delete dir="${installDir}/resources/icons"/> 120 129 <delete file="${installDir}/resources/*.png"/> 130 131 <echo message="Finished"/> 121 132 122 133 </target> … … 133 144 </target> 134 145 135 <target name="cleanuptarget"> 146 <target name="install-bundled-java" depends="" if="bundled.java.exists"> 147 <echo message="Installing bundled java"/> 148 <copy todir="${installDir}/packages/jre"> 149 <fileset dir="../@java.extracted@"/> 150 </copy> 151 <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/> 152 </target> 153 154 <target name="cleanuptarget" depends="install-bundled-java"> 136 155 </target> 137 156
Note:
See TracChangeset
for help on using the changeset viewer.