-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
36 lines (30 loc) · 968 Bytes
/
build.xml
File metadata and controls
36 lines (30 loc) · 968 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
35
36
<?xml version="1.0" encoding="UTF-8"?>
<project name="Tilings" 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="copy-resources" depends="compile">
<copy todir="${build.dir}">
<fileset dir="${src.dir}">
<include name="**/*.png"/>
</fileset>
</copy>
</target>
<target name="run" depends="copy-resources">
<java classname="SquareTiling" fork="true">
<classpath>
<pathelement path="${build.dir}"/>
</classpath>
</java>
</target>
</project>