-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.xml
More file actions
27 lines (22 loc) · 764 Bytes
/
build.xml
File metadata and controls
27 lines (22 loc) · 764 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
26
27
<project name="jfast" default="dist">
<property name="version" value="1.0lcs4" />
<property name="build" value="build" />
<property name="source" value="source" />
<property name="dist" value="dist" />
<!-- clean build data -->
<target name="clean">
<delete dir="${build}" />
<delete dir="${dist}" />
</target>
<!-- compile -->
<target name="compile">
<mkdir dir="${build}" />
<javac srcdir="${source}" destdir="${build}" />
</target>
<!-- create jar -->
<target name="dist" depends="compile">
<mkdir dir="${dist}" />
<jar destfile="${dist}/${ant.project.name}-${version}.jar"
basedir="${build}" />
</target>
</project>