-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.xml
35 lines (30 loc) · 924 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="EmuLinker" default="build" basedir=".">
<path id="project.class.path">
<pathelement path="${java.class.path}/" />
<fileset dir="./lib">
<include name="**/*.jar" />
<include name="**/*.zip" />
</fileset>
<pathelement path="./conf" />
<pathelement path="./src" />
</path>
<target name="compile">
<delete>
<fileset dir="./build" includes="**/*.class" />
</delete>
<javac srcdir="./src" destdir="./build" includes="**/*.java" failonerror="true" debug="on">
<classpath refid="project.class.path" />
</javac>
<echo message="Compiling complete." />
</target>
<target name="build" depends="compile">
<delete file="build/emulinker.jar" />
<jar jarfile="build/emulinker.jar" update="false">
<fileset dir="./build">
<include name="**/*.class" />
</fileset>
</jar>
<echo message="Build Complete." />
</target>
</project>