-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
54 lines (46 loc) · 1.79 KB
/
build.xml
File metadata and controls
54 lines (46 loc) · 1.79 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
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<project>
<property environment="env"/>
<path id="build.classpath">
<fileset dir="./lib">
<include name="**/*.jar" />
<include name="**/*.zip" />
</fileset>
</path>
<target name="clean">
<delete dir="build"/>
<delete dir="desc"/>
</target>
<target name="compile">
<mkdir dir="build"/>
<mkdir dir="dest"/>
<javac srcdir="./src" destdir="./build" includeantruntime="true">
<classpath>
<pathelement path="./lib/miglayout15-swing.jar" />
<pathelement path="./lib/miglayout-src.zip" />
</classpath>
</javac>
<jar destfile="dest/reversi.jar" basedir="build">
<zipgroupfileset dir="lib" includes="*.jar"/>
<fileset dir=".">
<include name="lib/*.png" />
</fileset>
<manifest>
<attribute name="Main-Class" value="ija.project2015.reversi.ReversiGUI"/>
</manifest>
</jar>
</target>
<target name="run" depends="compile">
<java fork="true" jar="dest/reversi.jar"/>
</target>
<javadoc packagenames="ija.project2015.*"
sourcepath="src"
excludepackagenames="ija.project2015.tests.*"
defaultexcludes="yes"
destdir="doc"
author="true"
version="true"
use="true"
windowtitle="Test API"
classpathref="build.classpath"/>
</project>