-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.xml
57 lines (41 loc) · 1.32 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
46
47
48
49
50
51
52
53
54
55
56
<!--
************************************************************
targets: makejar - compile & jar
compiletests - compile test
************************************************************
-->
<project name="Perst" default="all" basedir=".">
<target name="makedocs">
<javadoc
sourcepath="src"
destdir="doc"
nodeprecated="true"
nodeprecatedlist="true"
public="true"
packagenames="org.garret.perst"
/>
</target>
<target name="init" depends="clean" >
<mkdir dir="classes"/>
<mkdir dir="lib" />
</target>
<target name="clean">
<delete dir="classes" />
</target>
<target name="compile" depends="init">
<javac srcdir="src" excludes="org/garret/perst/aspectj/**,org/garret/perst/jassist/**" destdir="classes" deprecation="off" debug="on" optimize="on">
</javac>
</target>
<target name="compiletests" depends="compile" >
<delete dir="classes/tst" />
<mkdir dir="classes/tst" />
<javac srcdir="tst" excludes="aspectj/**,android/**,jassist/**,OO7/**" destdir="classes/tst" deprecation="off" debug="on" optimize="on">
<classpath location="lib/perst.jar" />
</javac>
</target>
<target name="makejar" depends="compile">
<jar jarfile="lib/perst.jar" basedir="classes" includes="**" />
</target>
<target name="all" depends="makejar,makedocs,compiletests">
</target>
</project>