OSDN Git Service

Shortcut hit detection in WidgetGroup, since groups UI are normally sized to encompas...
[mikumikustudio/libgdx-mikumikustudio.git] / build.xml
index 7b9408c..a6682f4 100644 (file)
--- a/build.xml
+++ b/build.xml
                        <reference refid="classpath"/>\r
                        <reference refid="resourcefiles"/>\r
                </ant>\r
-               <!-- the ndk clean process deletes all shared libs in libs/armeabi(-v7a), need to copy\r
-               the GLES 2.0 bindings manually... -->\r
-               <copy tofile="${distDir}/armeabi/libandroidgl20.so" file="gdx/dist/armeabi/libandroidgl20.so"/>\r
-               <copy tofile="${distDir}/armeabi-v7a/libandroidgl20.so" file="gdx/dist/armeabi/libandroidgl20.so"/>\r
        </target>\r
 \r
        <!-- gdx openal, for all desktop backends -->\r
                        <reference refid="classpath"/>\r
                </ant>\r
        </target>\r
+    \r
+    <!-- gdx robovm backend -->\r
+    <target name="gdx-backend-robovm" depends="gdx-core">\r
+               <path id="classpath">\r
+                       <pathelement location="${distDir}/gdx.jar"/>\r
+               </path>\r
+        <ant antfile="fetch.xml">\r
+            <target name="fetch-robovm"/>\r
+        </ant>\r
+               <ant antfile="../../build-template.xml" dir="backends/gdx-backend-robovm">\r
+                       <property name="jar" value="gdx-backend-robovm"/>\r
+                       <reference refid="classpath"/>\r
+               </ant>\r
+       </target>\r
 \r
        <!-- gdx ios-monotouch backend -->\r
        <target name="gdx-backend-iosmonotouch" depends="gdx-core">\r
                        <pathelement location="${distDir}/gdx.jar"/>\r
                        <pathelement location="${distDir}/gdx-backend-gwt.jar"/>\r
                        <pathelement location="${distDir}/extensions/gdx-controllers/gdx-controllers.jar"/>\r
+                       <pathelement location="${basedir}/backends/gdx-backends-gwt/libs/gwt-dev.jar"/>\r
+                       <pathelement location="${basedir}/backends/gdx-backends-gwt/libs/gwt-user.jar"/>\r
                </path>\r
                <ant antfile="../../../build-template.xml" dir="extensions/gdx-controllers/gdx-controllers-gwt">\r
                        <property name="distDir" value="${distDir}/extensions/gdx-controllers"/>\r
        </target>\r
 \r
        <target name="jars"\r
-depends="clean,gdx-setup-ui,gdx-core,gdx-openal,gdx-backend-lwjgl,gdx-backend-jglfw,gdx-backend-android,gdx-backend-gwt,gdx-backend-iosmonotouch,gdx-tools,gdx-controllers,gdx-controllers-desktop,gdx-controllers-android,gdx-controllers-gwt,gdx-image,gdx-audio,gdx-freetype,gdx-bullet"/>\r
+depends="clean,gdx-setup-ui,gdx-core,gdx-openal,gdx-backend-lwjgl,gdx-backend-jglfw,gdx-backend-android,gdx-backend-gwt,gdx-backend-robovm,gdx-backend-iosmonotouch,gdx-tools,gdx-controllers,gdx-controllers-desktop,gdx-controllers-android,gdx-controllers-gwt,gdx-image,gdx-audio,gdx-freetype,gdx-bullet,gdx-tiled-preprocessor"/>\r
 \r
        <target name="all" depends="jars,docs,copy-iosfiles">\r
                <!-- copy distribution files (licences etc.) -->\r
-               <copy tofile="${distDir}/README" file="gdx/dist/README"/>\r
-               <copy tofile="${distDir}/LICENSE" file="gdx/dist/LICENSE"/>\r
-               <copy tofile="${distDir}/CC-LICENSE" file="gdx/dist/CC-LICENSE"/>\r
-               <copy tofile="${distDir}/AUTHORS" file="gdx/dist/AUTHORS"/>\r
-               <copy tofile="${distDir}/CONTRIBUTORS" file="gdx/dist/CONTRIBUTORS"/>\r
+               <copy tofile="${distDir}/README" file="README.md"/>\r
+               <copy tofile="${distDir}/LICENSE" file="LICENSE"/>\r
+               <copy tofile="${distDir}/CC-LICENSE" file="CC-LICENSE"/>\r
+               <copy tofile="${distDir}/AUTHORS" file="AUTHORS"/>\r
+               <copy tofile="${distDir}/CONTRIBUTORS" file="CONTRIBUTORS"/>\r
 \r
                <!-- zip dist dir -->\r
                <zip destfile="libgdx-${version}.zip" basedir="${distDir}"/>\r
+               <checksum file="libgdx-${version}.zip" forceOverwrite="yes" />\r
        </target>\r
-</project>
+</project>\r