-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
38 lines (32 loc) · 1002 Bytes
/
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
27
28
29
30
31
32
33
34
35
36
37
38
<project default="jar">
<path id="dest.classpath">
<fileset dir="lib" >
<include name="*.jar" />
</fileset>
</path>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes">
<classpath refid="dest.classpath" />
</javac>
</target>
<target name="jar" depends="compile">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/GameAgent.jar" basedir="build/classes">
</jar>
</target>
<target name="run" depends="jar">
<java classname="jade.Boot" fork="true">
<arg value="-gui"/>
<arg value="-local-host"/>
<arg value="127.0.0.1"/>
<classpath>
<pathelement location="build/jar/GameAgent.jar"/>
</classpath>
<classpath refid="dest.classpath" />
</java>
</target>
</project>