-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
36 lines (32 loc) · 1.05 KB
/
build.xml
File metadata and controls
36 lines (32 loc) · 1.05 KB
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
<?xml version='1.0' encoding='utf-8'?>
<project name="Flowent" default="src" basedir=".">
<description>
Ant build file for the Flowent API project.
</description>
<!-- Set global properties -->
<property name="src" location="src"/>
<property name="build" location="antbuild"/>
<property name="dist" location="dist"/>
<target name="test">
<!-- Create timestamp -->
<tstamp/>
<!-- Create build directory for compilation -->
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="test"
description="Compile java source code">
<!-- Compile the Java code from src to build -->
<javac srcdir="${src}" destdir="${build}"/>
</target>
<target name="dist" depends="compile">
<mkdir dir="${dist}/lib"/>
<!-- Compile jar file -->
<jar jarfile="${dist}/lib/FlowentBuild-${DSTAMP}.jar" basedir="${build}"/>
</target>
<target name="clean"
description="clean up">
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
</project>