blob: ed52f87936283c9dee953d700b8fe928ba5650f3 (
plain)
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
|
<?xml version="1.0"?>
<project name="Binding" default="jar" basedir=".">
<!-- This is a customized build.xml for portage! -->
<!--
<property file="${basedir}/build.properties"/>
<property file="${basedir}/default.properties"/>
-->
<!-- Specification data -->
<property name="spec.title" value="JGoodies Binding API Specification"/>
<property name="spec.version" value="1.0.3"/>
<property name="spec.vendor" value="Karsten Lentzsch"/>
<!-- Implementation data -->
<property name="impl.title" value="JGoodies Binding"/>
<property name="impl.version" value="1.0.3"/>
<property name="impl.vender" value="Karsten Lentzsch"/>
<!-- Directory structure information -->
<property name="build" value="${basedir}/build"/>
<property name="src" value="${basedir}/src"/>
<!-- JavaDoc information -->
<property name="packages" value="com.jgoodies.*"/>
<target name="init">
<tstamp />
<mkdir dir="${build}"/>
<mkdir dir="${build}/doc"/>
<mkdir dir="${build}/doc/api"/>
</target>
<target name="manifest" depends="init">
<manifest file="MANIFEST.MF" mode="update">
<attribute name="Built-By" value="Gentoo Portage"/>
<attribute name="Specification-Title" value="${spec.title}"/>
<attribute name="Specification-Version" value="${spec.version}"/>
<attribute name="Specification-Vendor" value="${spec.vendor}"/>
<attribute name="Implementation-Title" value="${impl.title}"/>
<attribute name="Implementation-Version" value="${impl.version}"/>
<attribute name="Implementation-Vendor" value="${impl.vendor}"/>
</manifest>
</target>
<target name="compile" depends="init">
<javac srcdir="${src}"
destdir="${build}"
source="1.4"
target="1.4"
encoding="ISO-8859-1"/>
</target>
<target name="javadoc" depends="compile">
<javadoc sourcepath="${src}" packagenames="${packages}" destdir="${build}/docs/"/>
</target>
<target name="jar" depends="compile,manifest">
<jar jarfile="binding-${impl.version}.jar" manifest="MANIFEST.MF">
<fileset dir="${build}"/>
</jar>
</target>
</project>
|