-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
25 lines (21 loc) · 853 Bytes
/
build.xml
File metadata and controls
25 lines (21 loc) · 853 Bytes
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
<project xmlns:ivy="antlib:org.apache.ivy.ant" name="vaxter" default="resolve">
<target name="resolve" description="retrieve dependencies with ivy">
<ivy:retrieve pattern="lib/[artifact]-[revision].[ext]"/>
</target>
<target name="clean" description="Remove build directories">
<delete dir="bin"/>
</target>
<target name="clean-all" depends="clean" description="clean ivy cache">
<ivy:cleancache />
</target>
<target name="build" description="build vaxter jars">
<mkdir dir="bin"/>
<javac destdir="bin" srcdir="src" debug="true">
<classpath>
<fileset dir="lib" includes="*.jar"/>
</classpath>
</javac>
<jar destfile="vaxter.jar" basedir="bin"/>
<jar destfile="vaxter-src.jar" basedir="src"/>
</target>
</project>