annotate build.xml @ 122:ad73eacf560a default tip

remove warning
author e095732
date Thu, 07 Feb 2013 22:32:26 +0900
parents 8ae522e1a4bf
children
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 <!-- jarファイルの作成 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
20 <target name="jar" depends="compile">
110
8ae522e1a4bf add jar (junit and protobuf)
kazz
parents: 65
diff changeset
21 <jar jarfile="${jar}" basedir="${classes}">
8ae522e1a4bf add jar (junit and protobuf)
kazz
parents: 65
diff changeset
22 <zipgroupfileset dir="lib" includes="*.jar" />
8ae522e1a4bf add jar (junit and protobuf)
kazz
parents: 65
diff changeset
23 </jar>
10
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"/>
110
8ae522e1a4bf add jar (junit and protobuf)
kazz
parents: 65
diff changeset
32 <classpath>
8ae522e1a4bf add jar (junit and protobuf)
kazz
parents: 65
diff changeset
33 <pathelement path="lib/protobuf-java-2.3.0.jar" />
8ae522e1a4bf add jar (junit and protobuf)
kazz
parents: 65
diff changeset
34 <pathelement path="lib/junit.jar" />
8ae522e1a4bf add jar (junit and protobuf)
kazz
parents: 65
diff changeset
35 </classpath>
54
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
36 <sourcepath>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
37 <pathelement path="src"/>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
38 </sourcepath>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
39 </javac>
10
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
40 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
41
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
42 <!-- javadocの作成 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
43 <target name="javadoc">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
44 <javadoc destdir="${javadoc}">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
45 <fileset dir="${src}"/>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
46 </javadoc>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
47 </target>
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
48
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
49 <!-- 生成したファイルやフォルダの削除 -->
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
50 <target name="clean">
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
51 <delete dir="${classes}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
52 <delete dir="${javadoc}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
53 <delete file="${jar}" />
abd8cd62b4c6 FederatedLinda-Java
axmo
parents:
diff changeset
54 </target>
54
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
55
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
56 </project>
e56d1f7af5ce (no commit message)
one
parents: 10
diff changeset
57