-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
executable file
·83 lines (73 loc) · 3.03 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!--
ANT can be found @ http://jakarta.apache.org/ant/index.html
-->
<project name="Open Chord 1.0.5" default="main" basedir=".">
<!-- set global properties for this build -->
<property name="srcdir" value="src"/>
<property name="dstdir" value="build/classes"/>
<property name="impdir" value="lib"/>
<property name="distdir" value="dist"/>
<property name="dist_file" value="openchord_1.0.5.jar"/>
<property name="docdir" value="docs/api"/>
<target name="init" depends="clean">
<mkdir dir="${dstdir}"/>
<mkdir dir="${distdir}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${srcdir}" destdir="${dstdir}" deprecation="Off" debug="true">
<include name="**/*.java"/>
<exclude name="**/CVS/*"/>
<classpath>
<fileset dir="${impdir}">
<include name="**/*.jar"/>
<include name="**/*.zip"/>
</fileset>
</classpath>
</javac>
</target>
<target name="dist">
<copy file="config/chord.properties" todir="${dstdir}"/>
<jar destfile="${distdir}/${dist_file}" basedir="${dstdir}/">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="de.uniba.wiai.lspi.chord.console.Main"/>
</manifest>
</jar>
<delete file="${dstdir}/chord.properties"/>
</target>
<target name="clean">
<delete verbose="Off" includeEmptyDirs="true" quiet="true">
<fileset dir="${dstdir}/"/>
</delete>
<delete file="${distdir}/${dist_file}" quiet="true"/>
</target>
<target name="documentation">
<delete verbose="Off" includeEmptyDirs="true" quiet="true">
<fileset dir="${docdir}/"/>
</delete>
<mkdir dir="${docdir}"/>
<!-- create documentation -->
<javadoc
packagenames="de.uniba.wiai.lspi.*"
sourcepath="${srcdir}"
destdir="${docdir}"
author="false"
version="false"
windowtitle="OpenChord API 1.0.5">
<classpath>
<fileset dir="${impdir}">
<include name="**/*.jar"/>
<include name="**/*.zip"/>
</fileset>
</classpath>
<doctitle><![CDATA[<h1>OpenChord API</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 2004-2008 Karsten Loesing, Sven Kaffille - Distributed and Mobile Systems Group, <a href="http://www.uni-bamberg.de/pi/">Lehrstuhl für Praktische Informatik</a>, <a href="http://www.uni-bamberg.de/">Universität Bamberg</a>. All Rights Reserved.</i>]]></bottom>
<group title="Service logic packages" packages="de.uniba.wiai.lspi.chord.service:de.uniba.wiai.lspi.chord.service.*"/>
<group title="Command line interface packages" packages="de.uniba.wiai.lspi.chord.console:de.uniba.wiai.lspi.chord.console.*"/>
<group title="Communication logic packages" packages="de.uniba.wiai.lspi.chord.com:de.uniba.wiai.lspi.chord.com.*"/>
<group title="Utility packages" packages="de.uniba.wiai.lspi.chord.data:de.uniba.wiai.lspi.util:de.uniba.wiai.lspi.util.*"/>
<link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
</javadoc>
</target>
<target name="main" depends="compile"/>
</project>