blob: 0cc6d5e3cc05afe9b76e8217a5c3d167e0b69895 (
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
|
--- a/src/build.xml 2005-02-05 23:34:43.000000000 +0100
+++ b/src/build.xml 2005-02-06 00:02:39.392389088 +0100
@@ -1,9 +1,9 @@
-<project name="JDBM" default="main" basedir=".">
+<project name="JDBM" default="main" basedir="..">
<target name="init">
<property name="project" value="jdbm" />
<property name="source" value="./src" />
- <property name="main" value="${source}/main" />
+ <property name="main.src" value="${source}/main" />
<property name="etc" value="${source}/etc" />
<property name="build" value="build" />
<property name="classes" value="${build}/classes" />
@@ -16,7 +16,7 @@
<property name="build.compiler" value="classic" />
<property name="deprecation" value="true" />
<property file="VERSION" />
- <property name="archive" value="${project}-${version}" />
+ <property name="archive" value="${project}" />
</target>
@@ -46,7 +46,7 @@
<!-- Prepare target directories -->
- <target name="prepare">
+ <target name="prepare" depends="init">
<mkdir dir="${build}"/>
<mkdir dir="${classes}"/>
<mkdir dir="${dist}"/>
@@ -61,8 +61,9 @@
<!-- Build all the sources with debug and deprecation -->
<target name="main" depends="prepare">
- <javac srcdir="${main}" destdir="${classes}" excludes="**/package.html"
- classpath="${classpath}" debug="on" deprecation="${deprecation}" />
+ <javac srcdir="${source}/main" destdir="${classes}" excludes="**/package.html"
+ classpath="${classpath}" debug="on" deprecation="${deprecation}"
+ target="1.3" source="1.3" />
</target>
<!-- Same as main, but also cleans and additional targets -->
@@ -131,7 +132,7 @@
<mkdir dir="${build}/doc/javadoc" />
<property name="copyright"
value="Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net" />
- <javadoc sourcepath="${main}" destdir="${build}/doc/javadoc" dir="."
+ <javadoc sourcepath="${source}/main" destdir="${build}/doc/javadoc"
doctitle="JDBM JavaDoc" windowtitle="JDBM JavaDoc" bottom="${copyright}"
package="true" author="true" version="true" noindex="true"
packagenames="jdbm.*" />
|