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/shared/core/ant-scripts/wrap.xml

    r30130 r30131  
    151151
    152152            <!-- copy bundled files -->
     153            <!-- Include the self-extracting jre (for 64 bit) if this Mac is a 64 bit OS
     154                 http://stackoverflow.com/questions/218989/how-to-determine-build-architecture-32bit-64bit-with-ant -->
     155            <exec dir="." executable="/bin/sh" outputproperty="bitness.ouput"><arg line="-c &quot;uname -m&quot;"/></exec>
     156            <if><bool><contains string="${bitness.ouput}" substring="_64"/></bool>
     157                <copy tofile="wrapped-installer/Greenstone${version}${version-extra}.app/Contents/Resources/Java/jre_bin" file="${rk.home}/shared/mac/${mac-java.installer}"/>
     158            </if>
    153159            <chmod file="wrapped-installer/Greenstone${version}${version-extra}.app/Contents/MacOS/greenstone" perm="ug+x"/>
    154160            <copy todir="wrapped-installer/Greenstone${version}${version-extra}.app/Contents/Resources/Java" file="installer/Greenstone-${version}${version-extra}-${os.suffix}.jar"/>
Note: See TracChangeset for help on using the changeset viewer.