-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
65 lines (55 loc) · 2.1 KB
/
build.xml
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
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="Shift_JIS"?>
<!-- ////////////////////////////////////////////////////////////////////// -->
<!-- Copyright (c) 2004 by Naohide Sano, All rights reserved. -->
<!-- -->
<!-- Written by Naohide Sano -->
<!-- -->
<!-- jdbc front end -->
<!-- -->
<!-- @author Naohide Sano -->
<!-- @version 0.00 040620 nsano initial version -->
<!-- -->
<!-- ////////////////////////////////////////////////////////////////////// -->
<project default="compile" basedir=".">
<!-- クラスパスの定義 -->
<path id="project.class.path">
<pathelement location="../.." />
<pathelement location="src/java" />
<pathelement location="src/test" />
<fileset dir="lib">
<include name="*.jar" />
</fileset>
</path>
<!-- ターゲットの定義 -->
<!-- clean -->
<target name="clean" description="ビルド環境のクリア">
<delete>
<fileset dir="src">
<include name="**/*.class" />
</fileset>
</delete>
</target>
<!-- javac -->
<target name="compile" description="コンパイル src">
<javac debug="on" deprecation="on">
<classpath refid="project.class.path" />
<include name="**/*.java" />
<src path="src/java" />
</javac>
</target>
<!-- javac.test -->
<target name="compile.test" description="コンパイル test">
<javac debug="on" deprecation="on">
<classpath refid="project.class.path" />
<include name="**/*.java" />
<src path="src/test" />
</javac>
</target>
<!-- test -->
<target name="test" depends="compile,compile.test" description="test">
<java classname="Test" fork="yes">
<classpath refid="project.class.path" />
</java>
</target>
</project>
<!-- -->