-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
39 lines (33 loc) · 1.2 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
<?xml version="1.0"?>
<project name="s3DAV" default="all" basedir=".">
<target name="all" depends="jar"/>
<property file="build.properties"/>
<target name="clean">
<delete dir="build"/>
<delete dir="dist"/>
</target>
<target name="build">
<mkdir dir="build"/>
<javac destdir="build"
srcdir="src"
debug="on"
optimize="off"
deprecation="on"
includeAntRuntime="false"/>
</target>
<target name="jar" depends="build">
<mkdir dir="dist"/>
<jar jarfile="dist/s3DAV-${version}.jar"
basedir="build">
<manifest>
<attribute name="Main-Class" value="org.carion.s3dav.Main"/>
</manifest>
</jar>
</target>
<target name="zip" depends="jar">
<zip destfile="dist/s3DAV-${version}.zip">
<zipfileset dir="." includes="src/**/*.*,build.xml,LICENSE.txt,README.txt, CHANGELOG.txt" prefix="s3DAV-${version}"/>
<zipfileset dir="dist" includes="s3DAV-${version}.jar" prefix="s3DAV-${version}"/>
</zip>
</target>
</project>