-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
46 lines (40 loc) · 1.22 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="bitcoinj" default="all">
<target name="init">
<tstamp/>
<mkdir dir="out"/>
<mkdir dir="docs"/>
</target>
<target name="compile" depends="init">
<javac destdir="out" includeantruntime="no">
<src path="src"/>
<src path="tests"/>
<classpath path="lib/junit-4.8.2.jar"/>
</javac>
</target>
<target name="docs" depends="init">
<javadoc sourcepath="src"
excludepackagenames="com.google.bitcoin.bouncycastle.*,com.google.bitcoin.examples.*"
destdir="docs"
additionalparam="-notimestamp"/>
</target>
<target name="test" depends="compile">
<junit showoutput="false">
<classpath path="lib/junit-4.8.2.jar:out"/>
<batchtest>
<fileset dir="tests"><include name="**/*.java"/></fileset>
<formatter type="brief" usefile="no"/>
</batchtest>
</junit>
</target>
<target name="dist" depends="compile">
<mkdir dir="dist"/>
<jar jarfile="dist/bitcoinj-${DSTAMP}.jar" basedir="out"/>
</target>
<target name="all" depends="dist,docs,test"/>
<target name="clean">
<delete dir="out"/>
<delete dir="dist"/>
<delete dir="docs"/>
</target>
</project>