forked from soot-oss/heros
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.xml
41 lines (37 loc) · 1.1 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
<?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}"/>
</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}"/>
</classpath>
<src path="src"/>
</javac>
</target>
</project>