]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed Mac OS X 10.5 to detect as mac_leopard instead of mac
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sat, 28 Jun 2008 16:15:39 +0000 (16:15 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sat, 28 Jun 2008 16:15:39 +0000 (16:15 +0000)
svn changeset:4965/svn branch:trunk

build/build.xml

index 0f1acc5cfd39f86268d55bfd81ed1d87acbc247e..9d9a04613ac70eb05b36488c410a279483c12aee 100644 (file)
@@ -21,7 +21,7 @@
        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" />