annotate build.xml @ 53:629b6cfbd37f

metaprotocol ring
author axmo
date Mon, 19 Jan 2009 17:49:14 +0900
parents abd8cd62b4c6
children e56d1f7af5ce 865bf7f1bb8d
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}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
30 <javac srcdir="${src}" destdir="${classes}"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
31 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
32
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
33 <!-- javadocの作成 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
34 <target name="javadoc">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
35 <javadoc destdir="${javadoc}">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
36 <fileset dir="${src}"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
37 </javadoc>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
38 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
39
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
40 <!-- 生成したファイルやフォルダの削除 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
41 <target name="clean">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
42 <delete dir="${classes}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
43 <delete dir="${javadoc}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
44 <delete file="${jar}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
45 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
46 </project>