blob: 283ee0aff0bc7bee524bd8649102b6ccb786b8f8 (
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
|
--- build.xml.orig 2004-12-12 13:56:30.000000000 +0100
+++ build.xml 2004-12-13 17:56:46.220717520 +0100
@@ -148,7 +148,7 @@
<target name="main" depends="prepare"
description="The default target for compilation; includes debug and deprecation info">
- <javac srcdir="${main}" destdir="${classes}" excludes="${excludes}" debug="on" deprecation="${deprecation}">
+ <javac srcdir="${main}" destdir="${classes}" excludes="${excludes}" debug="on" deprecation="${deprecation}" source="1.4" target="1.4">
<classpath refid="build.classpath"/>
</javac>
<copy todir="${classes}">
@@ -163,7 +163,7 @@
<target name="main.opt" depends="prepare"
description="Same as the default target, but with optimization, no debug and no deprecation">
- <javac srcdir="${main}" destdir="${classes}" excludes="${excludes}" debug="${main.opt.debug}" deprecation="off" optimize="on">
+ <javac srcdir="${main}" destdir="${classes}" excludes="${excludes}" debug="${main.opt.debug}" deprecation="off" optimize="on" source="1.4" target="1.4">
<classpath refid="build.classpath"/>
</javac>
<copy todir="${classes}">
@@ -176,7 +176,7 @@
<target name="examples" depends="prepare, main"
description="Builds the example packages (including debugging info) and creates the webapp war file for the servlet example">
<mkdir dir="${build}/examples"/>
- <javac srcdir="${source}/examples" destdir="${build}/examples" debug="on" deprecation="${deprecation}" excludes="${exampleexcludes}">
+ <javac srcdir="${source}/examples" destdir="${build}/examples" debug="on" deprecation="${deprecation}" excludes="${exampleexcludes}" source="1.4" target="1.4">
<classpath refid="build.classpath"/>
</javac>
@@ -219,7 +219,7 @@
<target name="tests" depends="prepare" description="Build the tests packages">
<mkdir dir="${build}/tests"/>
- <javac srcdir="${source}/tests" destdir="${build}/tests" excludes="${testexcludes}" debug="on" deprecation="${deprecation}">
+ <javac srcdir="${source}/tests" destdir="${build}/tests" excludes="${testexcludes}" debug="on" deprecation="${deprecation}" source="1.4" target="1.4">
<classpath refid="build.classpath"/>
</javac>
@@ -467,7 +467,7 @@
<arg value="-types"/>
<arg value="j2"/>
</java>
- <javac destdir="${classes}" excludes="${excludes}" debug="${main.opt.debug}" deprecation="off" optimize="on">
+ <javac destdir="${classes}" excludes="${excludes}" debug="${main.opt.debug}" deprecation="off" optimize="on" source="1.4" target="1.4">
<src path="${gen.src}" />
<classpath refid="build.classpath"/>
</javac>
|