Changeset 30131 for main/trunk/release-kits/kits/rk3
- Timestamp:
- 2015-08-25T21:47:13+12:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/kits/rk3/installer/build.xml
r29335 r30131 46 46 <winprops/> 47 47 <!-- /if --> 48 49 <!-- work out whether a jre is bundled with this installer --> 50 <available file="../jre/bin" property="bundled.java.exists"/> 51 48 52 49 <!-- determine if there is an existing installation in the installDir--> 53 50 <available file="${installDir}\installation.properties" property="is.overinstall"/> 51 52 <!-- work out whether a jre was bundled with this installer. If it was, then for a Mac, it would live in /tmp --> 53 <!-- if mac --> 54 <available file="/tmp/jre/bin" property="bundled.java.exists"/> 55 <property name="extracted.jre.path" location="/tmp/jre" relative="false" /> 56 <!-- /if --> 57 <!-- if windows|liunx --> 58 <available file="../jre/bin" property="bundled.java.exists"/> 59 <property name="extracted.jre.path" location="../jre" relative="true" basedir="${basedir}" /> 60 <!-- /if --> 54 61 55 62 <!-- target to copy the bundled jre into place --> … … 57 64 <mkdir dir="${installDir}"/> 58 65 <copy todir="${installDir}/packages/jre" failonerror="false"> 59 <fileset dir=" ../jre"/>66 <fileset dir="${extracted.jre.path}"/> 60 67 </copy> 61 68 <chmod dir="${installDir}/packages/jre/bin" includes="*" perm="775"/> 69 <!-- if mac --> 70 <chmod dir="${installDir}/packages/jre/lib" includes="**/*" perm="a+rx"/> 71 <!-- /if --> 62 72 </target> 63 73
Note:
See TracChangeset
for help on using the changeset viewer.