forked from soot-oss/heros
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
45 lines (41 loc) · 1.3 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
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<project name="heros" default="jar">
<property file="ant.settings"/>
<target name="settings">
<fail
message="Please copy ant.settings.template to ant.settings, and set the variables in it."
unless="guava.jar"
/>
</target>
<target name="jar" depends="compile">
<jar destfile="./heros-${heros.version}.jar" manifest="META-INF/MANIFEST.MF">
<manifest>
<attribute name="Implementation-Version" value="${heros.version}"/>
</manifest>
<fileset dir="bin"/>
<zipfileset src="${guava.jar}"/>
<zipfileset src="${slf4j-api.jar}"/>
<zipfileset src="${slf4j-simple.jar}"/>
</jar>
</target>
<target name="compile">
<mkdir dir="bin"/>
<javac
destdir="bin"
debug="true"
includeantruntime="true"
deprecation="on"
source="1.5"
target="1.5"
fork="true"
memorymaximumsize="512m"
>
<classpath>
<pathelement location="${guava.jar}"/>
<pathelement location="${slf4j-api.jar}"/>
<pathelement location="${slf4j-simple.jar}"/>
</classpath>
<src path="src"/>
</javac>
</target>
</project>