forked from nelenkov/android-backup-extractor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
65 lines (61 loc) · 1.76 KB
/
build.xml
File metadata and controls
65 lines (61 loc) · 1.76 KB
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
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project>
<project default="all">
<!-- author: Jan Peter Stotz -->
<property
name="jar.filename"
value="abe.jar" />
<property
name="main.class"
value="org.nick.abe.Main" />
<property
name="bcprov.jar"
value="lib/bcprov-jdk15on-150.jar" />
<property
name="commons-cli"
value="lib/commons-cli-1.2.jar" />
<target
name="all"
depends="build,jar" />
<target name="build">
<delete
includeEmptyDirs="true"
failonerror="false">
<fileset
dir="build"
includes="**/*" />
</delete>
<mkdir dir="build" />
<javac
srcdir="src"
destdir="build"
classpath="${bcprov.jar}:${commons-cli}"
debug="true"
includeantruntime="false"
encoding="UTF-8"
source="1.7" />
</target>
<target
name="jar"
depends="build"
description="Create a standalone-jar (no external dependency)">
<delete file="${jar.filename}" />
<jar
destfile="${jar.filename}"
filesetmanifest="mergewithoutmain">
<manifest>
<attribute
name="Main-Class"
value="${main.class}" />
</manifest>
<fileset dir="build" />
<!-- Include BouncyCastle JAR -->
<zipfileset
src="${bcprov.jar}"
includes="org/**" />
<zipfileset
src="${commons-cli}"
includes="org/**" />
</jar>
</target>
</project>