-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
41 lines (33 loc) · 1.03 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
<project name="EVHE" default="help" basedir="."
xmlns:ivy="antlib:org.apache.ivy.ant">
<property name="build.dir" value="out"/>
<property name="lib.dir" value="lib"/>
<property name="doc.dir" value="doc"/>
<target name="help">
<echo>
EVHE build management
Targets:
initialize: Download dependencies
clean: Removes all bytecode and libs
=====
</echo>
</target>
<target name="initialize" depends="mkdirs">
<ivy:settings file="ivysettings.xml"/>
<ivy:retrieve/>
</target>
<target name="mkdirs">
<mkdir dir="log"/>
<mkdir dir="lib"/>
</target>
<target name="re-initialize" depends="remove-libs, initialize"/>
<target name="clean" depends="remove-libs, clean-build">
<delete dir="${doc.dir}"/>
</target>
<target name="clean-build">
<delete dir="${build.dir}"/>
</target>
<target name="remove-libs">
<delete dir="${lib.dir}"/>
</target>
</project>