forked from libgdx/box2dlights
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
26 lines (25 loc) · 1.21 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<project name="box2dlights" default="compile" basedir=".">
<property name="domain" value="http://libgdx.badlogicgames.com/nightlies/dist"/>
<target name="compile">
<delete dir="libs"/>
<mkdir dir="libs"/>
<get src="${domain}/gdx.jar" dest="libs/gdx.jar"/>
<get src="${domain}/extensions/gdx-box2d/gdx-box2d.jar" dest="libs/gdx-box2d.jar"/>
<delete dir="target"/>
<mkdir dir="target"/>
<mkdir dir="target/classes"/>
<path id="classpath">
<pathelement location="libs/gdx.jar"/>
<pathelement location="libs/gdx-box2d.jar"/>
</path>
<javac debug="on" encoding="utf-8" source="1.6" target="1.6" includeantruntime="false"
srcdir="src" destdir="target/classes"
classpathref="classpath">
</javac>
<copy file="src/Box2DLights.gwt.xml" tofile="target/classes/Box2DLights.gwt.xml"/>
<jar destfile="target/box2dlights-sources.jar" basedir="src"/>
<jar destfile="target/box2dlights.jar" basedir="target/classes"/>
<zip destfile="target/box2dlights.zip" basedir="target" includes="*.jar"/>
<delete dir="libs"/>
</target>
</project>