-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.xml
37 lines (31 loc) · 1.46 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="sellertrade" default="main" basedir=".">
<property name="jars" value="./lib" />
<path id="default.classpath">
<fileset dir="${jars}" includes="*.jar" />
<pathelement location="/usr/lib/jvm/java-1.7.0-openjdk-amd64/lib/tools.jar"/>
<!-- java 7 default path on gubatron's machine, should not break other builds, pinky has to add java 7 -->
<pathelement location="/Library/Java/JavaVirtualMachines/jdk1.7_current/Contents/Home/lib/tools.jar"/>
</path>
<target name="main">
<mkdir dir="bin" />
<!-- build -->
<javac srcdir="./src" destdir="bin" fork="true" includeantruntime="false" debug="true" debuglevel="lines,vars,source">
<classpath refid="default.classpath"/>
<src path="./src/" />
<src path="./frostwire-jlibtorrent/src/" />
</javac>
<!-- copy resources -->
<mkdir dir="./bin/com/seller/trade/templates/" />
<copy todir="./bin/com/seller/trade/templates/">
<fileset dir="./src/com/seller/trade/templates" />
</copy>
<!-- jar -->
<jar jarfile="sellertrade.jar" level="9">
<fileset dir="bin" />
</jar>
</target>
<target name="clean">
<delete dir="bin" />
</target>
</project>