File xpp2-build_xml.patch of Package xpp2 (Revision 8e3e936e1029209594114bed6e1116e7)
Currently displaying revision 8e3e936e1029209594114bed6e1116e7 , Show latest
200
1
--- build.xml.sav 2003-11-15 06:42:11.000000000 +0100
2
+++ build.xml 2005-08-10 11:58:48.000000000 +0200
3
4
<property name="midp4palm.home" value="c:/util/midp4palm1.0" />
5
6
7
- <property name="target" value="1.1" />
8
+ <property name="target" value="1.6" />
9
+ <property name="source" value="1.6" />
10
<!-- set global properties for this build -->
11
12
<property name="name" value="XML Pull Parser"/>
13
14
15
<target name="intf" depends="prepare">
16
<mkdir dir="${build_intf}"/>
17
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_intf}" destdir="${build_intf}"/>
18
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_intf}" destdir="${build_intf}"/>
19
<touch file="${build_intf}/PullParser${version}_VERSION"/>
20
</target>
21
22
23
24
<target name="impl_tag" depends="intf">
25
<mkdir dir="${build_impl_tag}"/>
26
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_tag}"
27
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_tag}"
28
destdir="${build_impl_tag}"
29
classpath="${build_intf}">
30
31
32
33
<target name="impl_node" depends="intf">
34
<mkdir dir="${build_impl_node}"/>
35
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_node}"
36
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_node}"
37
destdir="${build_impl_node}"
38
classpath="${build_intf}:${build_impl_tag}">
39
40
41
42
<target name="impl_format" depends="intf">
43
<mkdir dir="${build_impl_format}"/>
44
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_format}"
45
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_format}"
46
destdir="${build_impl_format}"
47
classpath="${build_intf}">
48
49
50
51
<target name="impl_pp" depends="impl_tag,intf">
52
<mkdir dir="${build_impl_pp}"/>
53
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_pp}"
54
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_pp}"
55
destdir="${build_impl_pp}"
56
classpath="${build_intf}:${build_impl_tag}">
57
58
59
60
<target name="impl" depends="intf,impl_tag,impl_pp,impl_node,impl_format,drivers">
61
<mkdir dir="${build_impl_factory}/META-INF/services"/>
62
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_factory}"
63
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_factory}"
64
destdir="${build_impl_factory}"
65
classpath="${build_intf}:${build_impl_tag}:${build_impl_pp}:${build_impl_node}:${build_impl_format}">
66
<patternset refid="all.source.files"/>
67
68
69
<target name="impl_small" depends="intf,impl_tag,impl_pp">
70
<mkdir dir="${build_impl_small}"/>
71
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_small}"
72
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_impl_small}"
73
destdir="${build_impl_small}"
74
classpath="${build_intf}:${build_impl_tag}:${build_impl_pp}">
75
<patternset refid="all.source.files"/>
76
77
78
<target name="x2impl_pp" if="x2_present" depends="intf,check_x2">
79
<mkdir dir="${build_x2impl_pp}"/>
80
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_x2impl_pp}"
81
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}" srcdir="${src_x2impl_pp}"
82
destdir="${build_x2impl_pp}"
83
classpath="${build_intf}">
84
</javac>
85
86
87
<target name="x2impl" if="x2_present" depends="x2impl_pp,drivers">
88
<mkdir dir="${build_x2impl_factory}"/>
89
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
90
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
91
srcdir="${src_x2impl_factory}"
92
destdir="${build_x2impl_factory}"
93
classpath="${build_intf}:${build_impl_tag}:${build_x2impl_pp}:${build_impl_node}:${build_impl_format}">
94
95
96
<target name="samples" depends="intf">
97
<mkdir dir="${build_samples}"/>
98
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
99
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
100
srcdir="${src_samples}" destdir="${build_samples}"
101
classpath="${build_intf}"
102
>
103
104
105
<target name="api_sax2" depends="prepare">
106
<mkdir dir="${build_api_sax2}"/>
107
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
108
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
109
srcdir="${src_api_sax2}" destdir="${build_api_sax2}"
110
>
111
</javac>
112
113
114
<target name="driver_sax2" depends="api_sax2,intf">
115
<mkdir dir="${build_driver_sax2}"/>
116
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
117
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
118
srcdir="${src_driver_sax2}" destdir="${build_driver_sax2}"
119
classpath="${build_api_sax2}:${build_intf}"
120
>
121
122
123
<target name="api_jaxp11" depends="api_sax2">
124
<mkdir dir="${build_api_jaxp11}"/>
125
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
126
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
127
srcdir="${src_api_jaxp11}" destdir="${build_api_jaxp11}"
128
classpath="${build_api_sax2}"
129
>
130
131
<!--copy todir="${build_driver_jaxp11}/META-INF/services">
132
<fileset dir="${src_driver_jaxp11}/META-INF/services/"/>
133
</copy-->
134
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
135
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
136
srcdir="${src_driver_jaxp11}" destdir="${build_driver_jaxp11}"
137
classpath="${build_api_sax2}:${build_driver_sax2}:${build_api_jaxp11}:${build_intf}"
138
>
139
140
<delete dir="${build_j2me}/count_midlet" />
141
<mkdir dir="${build_j2me}/count_midlet"/>
142
143
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
144
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
145
srcdir="${src_samples}" destdir="${build_j2me}/count_midlet"
146
bootclasspath="${j2mewtk.home}/lib/midpapi.zip"
147
classpath="${build_intf}"
148
149
<!-- thi is special verion of XPP2 that is equivalent to impl_small but smaller -->
150
<target name="impl_tiny" depends="prepare">
151
<mkdir dir="${build_impl_tiny}"/>
152
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
153
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
154
srcdir="${src_impl_tiny}"
155
destdir="${build_impl_tiny}"
156
>
157
158
<delete dir="${build_j2me}/count_midlet_tiny" />
159
<mkdir dir="${build_j2me}/count_midlet_tiny"/>
160
161
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
162
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
163
srcdir="${src_samples}" destdir="${build_j2me}/count_midlet_tiny"
164
bootclasspath="${j2mewtk.home}/lib/midpapi.zip"
165
classpath="${build_impl_tiny}"
166
167
168
<target name="tests" if="junit.present" depends="intf,check_junit">
169
<mkdir dir="${build_tests}"/>
170
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
171
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
172
srcdir="${src_tests}" destdir="${build_tests}">
173
<classpath refid="test_classpath" />
174
</javac>
175
176
177
<target name="tiny_tests" if="junit.present" depends="impl_tiny,check_junit">
178
<mkdir dir="${build_tiny_tests}"/>
179
- <javac target="${target}" debug="${debug}" deprecation="${deprecation}"
180
+ <javac source="${source}" target="${target}" debug="${debug}" deprecation="${deprecation}"
181
srcdir="${src_tests}" destdir="${build_tiny_tests}" classpath="${build_impl_tiny}:${java.class.path}">
182
<patternset>
183
<exclude name="All**"/>
184
185
<javadoc packagenames="${apidoc_packages}"
186
sourcepath="${src_intf}"
187
destdir="${build_apidoc}"
188
+ source="1.6"
189
author="true"
190
version="true"
191
use="true"
192
193
<javadoc packagenames="${javadoc_packages}"
194
sourcepath="${src_intf}:${src_impl_factory}:${src_impl_small}:${src_impl_tag}:${src_impl_pp}:${src_impl_node}:${src_impl_format}:${src_x2impl}:${src_x2impl_factory}:${src_x2impl_pp}"
195
destdir="${build_javadoc}"
196
+ source="1.6"
197
author="true"
198
version="true"
199
use="true"
200