<javac srcdir="backends/gdx-backend-desktop/src" destdir="backends/gdx-backend-desktop/bin">\r
<classpath>\r
<pathelement location="gdx/bin"/>\r
- <pathelement location="backends/gdx-backend-desktop/libs/gdx-dependencies-desktop.jar"/>\r
+ <pathelement location="backends/dependencies/gluegen-rt.jar"/>\r
+ <pathelement location="backends/dependencies/javazoom-spi.jar"/>\r
+ <pathelement location="backends/dependencies/jl1.0.1.jar"/>\r
+ <pathelement location="backends/dependencies/jogl-natives.jar"/>\r
+ <pathelement location="backends/dependencies/jogl.jar"/>\r
+ <pathelement location="backends/dependencies/jorbis.jar"/>\r
+ <pathelement location="backends/dependencies/tritonus-utils.jar"/> \r
</classpath>\r
</javac>\r
\r
<javac srcdir="backends/gdx-backend-android/src" destdir="backends/gdx-backend-android/bin">\r
<classpath>\r
<pathelement location="gdx/bin"/>\r
- <pathelement location="backends/gdx-backend-android/libs/android-2.0.jar"/>\r
+ <pathelement location="backends/dependencies/android-2.0.jar"/>\r
</classpath>\r
</javac>\r
\r
<!-- build applet backend -->\r
<javac srcdir="backends/gdx-backend-applet/src" destdir="backends/gdx-backend-applet/bin">\r
<classpath>\r
- <pathElement location="gdx/bin"/>\r
- <pathElement location="backends/gdx-backend-applet/libs/gdx-dependencies-applet.jar"/>\r
+ <pathElement location="gdx/bin"/> \r
+ <pathelement location="backends/dependencies/gluegen-rt.jar"/>\r
+ <pathelement location="backends/dependencies/javazoom-spi.jar"/>\r
+ <pathelement location="backends/dependencies/jl1.0.1.jar"/>\r
+ <pathelement location="backends/dependencies/jogl-natives.jar"/>\r
+ <pathelement location="backends/dependencies/jogl.jar"/>\r
+ <pathelement location="backends/dependencies/jorbis.jar"/>\r
+ <pathelement location="backends/dependencies/tritonus-utils.jar"/>\r
</classpath>\r
</javac>\r
</target>\r
\r
<!-- builds the distribution directory, does not include the desktop libs \r
for some reason excludes don't work so i have to delete the ndk directory first... -->\r
- <target name="dist" depends="compile,compile-native">\r
+ <target name="dist" depends="compile">\r
<delete dir="gdx/bin/ndk"/>\r
<jar destfile="${stable}/gdx.jar" basedir="gdx/bin"/>\r
<jar destfile="${stable}/gdx-sources.jar" basedir="gdx/src"/>\r
- <jar destfile="${stable}/gdx-backend-desktop.jar" basedir="backends/gdx-backend-desktop/bin"/>\r
+ <jar destfile="${stable}/gdx-backend-desktop.jar">\r
+ <fileset dir="backends/gdx-backend-desktop/bin"/>\r
+ <zipfileset src="backends/dependencies/gluegen-rt.jar"/>\r
+ <zipfileset src="backends/dependencies/javazoom-spi.jar"/>\r
+ <zipfileset src="backends/dependencies/jl1.0.1.jar"/>\r
+ <zipfileset src="backends/dependencies/jogl-natives.jar"/>\r
+ <zipfileset src="backends/dependencies/jogl.jar"/>\r
+ <zipfileset src="backends/dependencies/jorbis.jar"/>\r
+ <zipfileset src="backends/dependencies/tritonus-utils.jar"/>\r
+ </jar>\r
+ <jar destfile="${stable}/gdx-backend-applet.jar">\r
+ <fileset dir="backends/gdx-backend-applet/bin"/>\r
+ <zipfileset src="backends/dependencies/gluegen-rt.jar"/>\r
+ <zipfileset src="backends/dependencies/javazoom-spi.jar"/>\r
+ <zipfileset src="backends/dependencies/jl1.0.1.jar"/>\r
+ <zipfileset src="backends/dependencies/jogl-natives.jar"/>\r
+ <zipfileset src="backends/dependencies/jogl.jar"/>\r
+ <zipfileset src="backends/dependencies/jorbis.jar"/>\r
+ <zipfileset src="backends/dependencies/tritonus-utils.jar"/>\r
+ </jar>\r
<jar destfile="${stable}/gdx-backend-android.jar" basedir="backends/gdx-backend-android/bin"/>\r
- <jar destfile="${stable}/gdx-backend-applet.jar" basedir="backends/gdx-backend-applet/bin"/>\r
+ \r
<copy tofile="${stable}/gdx.dll" file="gdx/windows/gdx.dll" failonerror="false"/>\r
<copy tofile="${stable}/libgdx.so" file="gdx/linux/libgdx.so" failonerror="false"/>\r
<copy tofile="${stable}/armeabi/libgdx.so" file="gdx/libs/armeabi/libgdx.so"/>\r
<copy tofile="${stable}/armeabi/libandroidgl20.so" file="gdx/dist/armeabi/libandroidgl20.so"/>\r
- <copy tofile="${stable}/armeabi-v7a/libgdx.so" file="gdx/libs/armeabi-v7a/libgdx.so"/> \r
- <copy tofile="${stable}/gdx-dependencies-desktop.jar" file="backends/gdx-backend-desktop/libs/gdx-dependencies-desktop.jar"/>\r
- <copy tofile="${stable}/gdx-dependencies-applet.jar" file="backends/gdx-backend-applet/libs/gdx-dependencies-applet.jar"/> \r
+ <copy tofile="${stable}/armeabi-v7a/libgdx.so" file="gdx/libs/armeabi-v7a/libgdx.so"/> \r
<copy tofile="${stable}/README" file="gdx/dist/README"/>\r
<copy tofile="${stable}/LICENSE-2.0.html" file="gdx/dist/LICENSE-2.0.html"/>\r
</target>\r
<copy tofile="demos/helloworld/gdx-helloworld/libs/gdx.jar" file="${stable}/gdx.jar"/>\r
<copy tofile="demos/helloworld/gdx-helloworld/libs/gdx-sources.jar" file="${stable}/gdx-sources.jar"/>\r
<copy tofile="demos/helloworld/gdx-helloworld/libs/gdx-backend-desktop.jar" file="${stable}/gdx-backend-desktop.jar"/>\r
- <copy tofile="demos/helloworld/gdx-helloworld/libs/gdx-dependencies-desktop.jar" file="${stable}/gdx-dependencies-desktop.jar"/>\r
<copy tofile="demos/helloworld/gdx-helloworld/libs/gdx.dll" file="${stable}/gdx.dll" failonerror="false"/>\r
<copy tofile="demos/helloworld/gdx-helloworld/libs/libgdx.so" file="${stable}/libgdx.so" failonerror="false"/>\r
\r
<copy tofile="demos/invaders/gdx-invaders/libs/gdx.jar" file="${stable}/gdx.jar"/>\r
<copy tofile="demos/invaders/gdx-invaders/libs/gdx-sources.jar" file="${stable}/gdx-sources.jar"/>\r
<copy tofile="demos/invaders/gdx-invaders/libs/gdx-backend-desktop.jar" file="${stable}/gdx-backend-desktop.jar"/>\r
- <copy tofile="demos/invaders/gdx-invaders/libs/gdx-dependencies-desktop.jar" file="${stable}/gdx-dependencies-desktop.jar"/>\r
<copy tofile="demos/invaders/gdx-invaders/libs/gdx.dll" file="${stable}/gdx.dll" failonerror="false"/>\r
<copy tofile="demos/invaders/gdx-invaders/libs/libgdx.so" file="${stable}/libgdx.so" failonerror="false"/>\r
\r