forked from nelenkov/android-backup-extractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
29 lines (24 loc) · 1020 Bytes
/
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
<project default="all">
<!-- author: Jan Peter Stotz -->
<property name="jar.filename" value="abe.jar" />
<property name="main.class" value="org.nick.abe.Main" />
<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="lib/bcprov-jdk15on-148.jar" 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="lib/bcprov-jdk15on-148.jar" includes="org/**" />
</jar>
</target>
</project>