annotate build.xml @ 54:e56d1f7af5ce

(no commit message)
author one
date Mon, 19 Jan 2009 19:11:37 +0900
parents abd8cd62b4c6
children cc860e8beb8f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
2
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
3 <project name="FDL" default="jar" basedir=".">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
4
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
5 <!-- ****プロパティ**** -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
6 <!-- ソースファイルがあるディレクトリ -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
7 <property name="src" value="src"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
8
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
9 <!-- クラスファイルを出力するディレクトリ -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
10 <property name="classes" value="classes"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
11
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
12 <!-- javadocを出力するディレクトリ -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
13 <property name="javadoc" value="docs"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
14
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
15 <!-- jarファイル名 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
16 <property name="jar" value="FedLinda.jar"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
17
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
18
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
19
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
20 <!-- ****ターゲット**** -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
21 <!-- jarファイルの作成 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
22 <target name="jar" depends="compile">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
23 <jar jarfile="${jar}" basedir="${classes}"></jar>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
24 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
25
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
26
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
27 <!-- コンパイル -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
28 <target name="compile">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
29 <mkdir dir="${classes}" />
54
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
30 <javac encoding="UTF-8" srcdir="src" destdir="${classes}" fork="yes">
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
31 <compilerarg value="-J-Dfile.encoding=UTF8"/>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
32 <sourcepath>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
33 <pathelement path="src"/>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
34 </sourcepath>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
35 </javac>
10
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
36 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
37
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
38 <!-- javadocの作成 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
39 <target name="javadoc">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
40 <javadoc destdir="${javadoc}">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
41 <fileset dir="${src}"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
42 </javadoc>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
43 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
44
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
45 <!-- 生成したファイルやフォルダの削除 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
46 <target name="clean">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
47 <delete dir="${classes}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
48 <delete dir="${javadoc}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
49 <delete file="${jar}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
50 </target>
54
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
51
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
52 </project>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
53