NOTE: This build script requires directories named ${gwt-dir}/(linux|windows|mac|mac_leopard) .
See build.properties to define path where your gwt installation is located.
You must unpack platform specific binaries under linux, windows and mac directories.
- ${gwt-dir}/${platform} (linux|windows|mac) are used for
+ ${gwt-dir}/${platform} (linux|windows|mac|mac_leopard) are used for
a) compile WebContent/ITMILL/widgetsets
b) creating platform specific release ZIP/TGZ packages.
-->
<if>
<equals arg1="${os.name}" arg2="Mac OS X" />
<then>
- <property name="platform" value="mac" />
+ <if>
+ <contains string="${os.version}" substring="10.5." />
+ <then>
+ <property name="platform" value="mac_leopard" />
+ </then>
+ <else>
+ <property name="platform" value="mac" />
+ </else>
+ </if>
</then>
</if>
</target>
<!-- required when compiling WebContent/ITMILL/widgetsets (and also Java server-side classes) -->
<property name="lib-gwt-dev" value="gwt-dev-${platform}.jar" />
- <echo>We are on ${platform} platform, using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo>
+ <echo>We are on ${platform} platform (${os.name} ${os.version}), using ${gwt-dir}/${platform}/${lib-gwt-dev}.</echo>
<!-- Destination files -->
<property name="lib-jar-name" value="${product-file}-${version}.jar" />