Ignore:
Timestamp:
2015-08-25T21:47:13+12:00 (9 years ago)
Author:
ak19
Message:

Changes specific to 64 bit MacOS with which we now bundle a JRE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/kits/rk3/installer/build.xml

    r29335 r30131  
    4646    <winprops/>
    4747    <!-- /if -->
    48 
    49     <!-- work out whether a jre is bundled with this installer -->
    50     <available file="../jre/bin" property="bundled.java.exists"/>
    51 
     48   
    5249    <!-- determine if there is an existing installation in the installDir-->
    5350    <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 -->
    5461
    5562    <!-- target to copy the bundled jre into place -->
     
    5764        <mkdir dir="${installDir}"/>
    5865        <copy todir="${installDir}/packages/jre" failonerror="false">
    59             <fileset dir="../jre"/>
     66            <fileset dir="${extracted.jre.path}"/>
    6067        </copy>
    6168        <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 -->
    6272    </target>
    6373
Note: See TracChangeset for help on using the changeset viewer.