-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
34 lines (27 loc) · 972 Bytes
/
Copy pathbuild.xml
File metadata and controls
34 lines (27 loc) · 972 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
28
29
30
31
32
33
34
<project name="minijava-compiler" basedir="." default="compile">
<fail message="Ant 1.10.4+ is required!">
<condition>
<not>
<antversion atleast="1.10.4"/>
</not>
</condition>
</fail>
<path id="classpath">
<pathelement path="bin/src"/>
<pathelement path="bin/test"/>
<fileset dir="lib" includes="*.jar" />
</path>
<target name="clean">
<delete dir="bin"/>
</target>
<target name="init">
<mkdir dir="bin/src"/>
<mkdir dir="bin/test"/>
<mkdir dir="bin/test-report"/>
</target>
<target name="compile" depends="init">
<javac destdir="bin/src" classpathref="classpath" srcdir="src" includeantruntime="false"/>
<javac destdir="bin/test" classpathref="classpath" srcdir="test" includeantruntime="false"/>
</target>
<target name="build" description="clean build" depends="clean, compile" />
</project>