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
|
--- build.xml.orig 2005-05-22 17:13:28.000000000 +0200
+++ build.xml 2005-05-22 17:20:32.000000000 +0200
@@ -83,6 +83,12 @@
<pathelement location="${commons-transaction.jar}"/>
<pathelement location="${j2ee-spec.jar}"/>
</path>
+
+ <path id="mycp">
+ <fileset dir="lib">
+ <include name="**/*.jar" />
+ </fileset>
+ </path>
<!-- =================================================================== -->
<!-- Prepare build -->
<!-- =================================================================== -->
@@ -160,7 +166,7 @@
<javac srcdir="clientlib/src/java" destdir="${clientlib.build}/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}" excludes="**/CVS/**">
- <classpath refid="clientlib.classpath"/>
+ <classpath refid="mycp"/>
</javac>
</target>
<!-- =================================================================== -->
@@ -188,12 +194,12 @@
<javac srcdir="commandline/src/java" destdir="${cmd.build}/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}" excludes="**/Slide.java">
- <classpath refid="cmd.classpath"/>
+ <classpath refid="mycp"/>
</javac>
<javac srcdir="${cmd.build}/src" destdir="${cmd.build}/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}" includes="**/Slide.java">
- <classpath refid="cmd.classpath"/>
+ <classpath refid="mycp"/>
</javac>
</target>
<!-- =================================================================== -->
@@ -205,7 +211,7 @@
<javac srcdir="ant/src/java" destdir="${ant.build}/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}" excludes="**/*Test.java">
- <classpath refid="ant.classpath"/>
+ <classpath refid="mycp"/>
</javac>
<copy todir="${ant.build}/classes">
<fileset dir="ant/src/java">
@@ -223,7 +229,7 @@
<javac srcdir="connector/src/java" destdir="${jca.build}/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}" excludes="**/*Test.java">
- <classpath refid="jca.classpath"/>
+ <classpath refid="mycp"/>
</javac>
<copy todir="${jca.build}/classes">
<fileset dir="connector/src/java"/>
@@ -265,7 +271,7 @@
<!-- =================================================================== -->
<!-- Build a WebDAV client distribution -->
<!-- =================================================================== -->
- <target name="dist-clientlib" depends="build-clientlib,prepare-dist,javadoc-clientlib"
+ <target name="dist-clientlib" depends="build-clientlib,prepare-dist"
description="Jar WebDAV client lib and copy required jar libs">
<copy todir="${clientlib.dist}/lib">
<fileset dir="lib">
@@ -398,7 +404,7 @@
deprecation="${compile.deprecation}"
optimize="${compile.optimize}" >
<src path="${basedir}/connector/example/src/java"/>
- <classpath refid="jca.classpath" />
+ <classpath refid="mycp" />
</javac>
<zip zipfile="${jca.dist}/connector-example.war">
<zipfileset dir="${jca.build}/classes/connector" prefix="WEB-INF/classes/connector" includes="TestServlet.class"/>
|