Changeset 4965

Show
Ignore:
Timestamp:
06/28/08 16:15:39 (5 months ago)
Author:
joonas.lehtinen@…
Message:

Fixed Mac OS X 10.5 to detect as mac_leopard instead of mac

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/build/build.xml

    r4925 r4965  
    2222        See build.properties to define path where your gwt installation is located. 
    2323        You must unpack platform specific binaries under linux, windows and mac directories. 
    24         ${gwt-dir}/${platform} (linux|windows|mac) are used for 
     24        ${gwt-dir}/${platform} (linux|windows|mac|mac_leopard) are used for 
    2525        a) compile WebContent/ITMILL/widgetsets 
    2626        b) creating platform specific release ZIP/TGZ packages. 
     
    103103            <equals arg1="${os.name}" arg2="Mac OS X" /> 
    104104            <then> 
    105                 <property name="platform" value="mac" /> 
     105                <if> 
     106                        <contains string="${os.version}" substring="10.5." /> 
     107                        <then> 
     108                        <property name="platform" value="mac_leopard" /> 
     109                                        </then> 
     110                        <else> 
     111                        <property name="platform" value="mac" /> 
     112                        </else> 
     113                </if> 
    106114            </then> 
    107115        </if> 
     
    124132                <property name="lib-gwt-dev" value="gwt-dev-${platform}.jar" /> 
    125133 
    126                 <echo>We are on ${platform} platform, using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo> 
     134                <echo>We are on ${platform} platform (${os.name} ${os.version}), using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo> 
    127135 
    128136                <!-- Destination files -->