-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
40 lines (35 loc) · 1.03 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?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>
<!--
<fileset dir="C:\eclipse\plugins\com.cloudgarden.jigloo_3.8.9.2">
<include name="**/*.jar" />
</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>