-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
46 lines (39 loc) · 1.22 KB
/
build.xml
File metadata and controls
46 lines (39 loc) · 1.22 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
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<project name="Sudoku" default="run" basedir=".">
<property name="src.dir" value="src"/>
<property name="build.dir" value="classes"/>
<target name="clean">
<delete dir="${build.dir}"/>
</target>
<target name="compile">
<mkdir dir="${build.dir}"/>
<javac srcdir="${src.dir}"
destdir="${build.dir}"
includeantruntime="false"
debug="true">
</javac>
</target>
<target name="run" depends="compile">
<java classname="solver.Sudoku" fork="true">
<arg value="-benchmark"/>
<classpath>
<pathelement path="${build.dir}"/>
</classpath>
</java>
</target>
<target name="game" depends="compile">
<java classname="game.SudokuGame" fork="true">
<classpath>
<pathelement path="${build.dir}"/>
</classpath>
</java>
</target>
<target name="check" depends="compile">
<java classname="solver.Sudoku" fork="true">
<arg value="-check"/>
<classpath>
<pathelement path="${build.dir}"/>
</classpath>
</java>
</target>
</project>