Skip to content

Commit 99f0ddf

Browse files
committed
Ant build.xml for compiling without Eclipse.
A quick alteration of the sample file from http://ant.apache.org/manual/using.html Might need some cleanup.
1 parent 638442e commit 99f0ddf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<project name="Procesing Web Reference Genetator" default="compile" basedir=".">
2+
<description>
3+
simple example build file
4+
</description>
5+
<!-- set global properties for this build -->
6+
<property name="src" location="src"/>
7+
<property name="build" location="bin"/>
8+
9+
<target name="init">
10+
<!-- Create the time stamp -->
11+
<tstamp/>
12+
<!-- Create the build directory structure used by compile -->
13+
<mkdir dir="${build}"/>
14+
</target>
15+
16+
<target name="compile" depends="init"
17+
description="compile the source " >
18+
<!-- Compile the java code from ${src} into ${build} -->
19+
<javac srcdir="${src}" destdir="${build}"/>
20+
</target>
21+
22+
<target name="clean"
23+
description="clean up" >
24+
<!-- Delete the ${build} and ${dist} directory trees -->
25+
<delete dir="${build}"/>
26+
</target>
27+
</project>

0 commit comments

Comments
 (0)