annotate build.xml @ 146:36dc63d1bdcf working

read image from jar
author sugi
date Tue, 25 Sep 2012 14:11:37 +0900
parents 5d9d0bd2fee4
children 4658bf530834
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
101
9e4784d8b727 add jar files to build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 50
diff changeset
3 <project name="Alice" default="jar" basedir=".">
15
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 <!-- ****プロパティ**** -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 <!-- ソースファイルがあるディレクトリ -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 <property name="src" value="src"/>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 <!-- クラスファイルを出力するディレクトリ -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 <property name="classes" value="classes"/>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 <!-- javadocを出力するディレクトリ -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 <property name="javadoc" value="docs"/>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 <!-- jarファイル名 -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 <property name="jar" value="Alice.jar"/>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 <!-- ****ターゲット**** -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 <!-- jarファイルの作成 -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 <target name="jar" depends="compile">
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 <jar jarfile="${jar}" basedir="${classes}">
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 <zipgroupfileset dir="lib" includes="*.jar" />
17
bb075e103cd3 bug fix for take()
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 15
diff changeset
23 <fileset dir="src" includes="log4j.xml" />
146
36dc63d1bdcf read image from jar
sugi
parents: 102
diff changeset
24 <fileset dir="image" includes="*.jpg" />
36dc63d1bdcf read image from jar
sugi
parents: 102
diff changeset
25 <fileset dir="image" includes="TUNA" />
15
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 </jar>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 </target>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 <!-- コンパイル -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 <target name="compile">
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 <mkdir dir="${classes}" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 <javac encoding="UTF-8" srcdir="src" destdir="${classes}" fork="yes">
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 <compilerarg value="-J-Dfile.encoding=UTF8"/>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 <classpath>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 <pathelement path="lib/junit.jar" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 <pathelement path="lib/javassist.jar" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 <pathelement path="lib/log4j-1.2.16.jar" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 <pathelement path="lib/slf4j-api-1.6.1.jar" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 <pathelement path="lib/slf4j-log4j12-1.6.1.jar" />
50
cc440cb8582e bug fix for write() at OutboundTCPConnection
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 28
diff changeset
40 <pathelement path="lib/msgpack-0.6.6-SNAPSHOT.jar" />
28
98ab26e09a98 Configuration Manager work and implements reverseKey
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents: 17
diff changeset
41 <pathelement path="lib/com.alexmerz.graphviz.jar" />
15
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 </classpath>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 <sourcepath>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 <pathelement path="src"/>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 </sourcepath>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 </javac>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 </target>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 <!-- javadocの作成 -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 <target name="javadoc">
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 <javadoc destdir="${javadoc}">
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 <fileset dir="${src}"/>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 </javadoc>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 </target>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
55
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 <!-- 生成したファイルやフォルダの削除 -->
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 <target name="clean">
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
58 <delete dir="${classes}" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 <delete dir="${javadoc}" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 <delete file="${jar}" />
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 </target>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 </project>
45e98e74db96 add build.xml
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64