File java150_build.patch of Package xerces-j2
Index: xerces-2_8_1/build.xml
===================================================================
--- xerces-2_8_1.orig/build.xml
+++ xerces-2_8_1/build.xml
@@ -240,6 +240,7 @@ Copyright:
</copy>
<xjavac srcdir="${build.src}"
+ source="1.4" target="1.4"
destdir="${build.dest}"
classpath="${build.dir}/classes:${tools.dir}/${jar.apis}:${tools.dir}/${jar.resolver}"
debug="${debug}"
@@ -300,6 +301,7 @@ Copyright:
<fileset dir="${samples.dir}"/>
</copy>
<xjavac srcdir="${build.samples}"
+ source="1.4" target="1.4"
destdir="${build.dest}"
classpath="${build.dir}/classes:${tools.dir}/${jar.apis}"
debug="${debug}"
@@ -317,6 +319,7 @@ Copyright:
excludes="dom/rename/**" />
</copy>
<xjavac srcdir="${build.tests}"
+ source="1.4" target="1.4"
destdir="${build.dest}"
classpath="${tools.dir}/${jar.apis}:${build.dir}/classes:./tools/junit.jar"
debug="${debug}"
@@ -403,6 +406,7 @@ Copyright:
<mkdir dir='${build.dir}/docs/javadocs/api'/>
<javadoc packagenames='javax.xml.*,org.w3c.*,org.xml.*'
+ source="1.4"
locale='en_US'
sourcepath='${build.src}' destdir='${build.dir}/docs/javadocs/api'
author='true' version='true'
@@ -412,6 +416,7 @@ Copyright:
/>
<mkdir dir='${build.dir}/docs/javadocs/xni'/>
<javadoc packagenames='org.apache.xerces.xni.*'
+ source="1.4"
locale='en_US'
sourcepath='${build.src}' destdir='${build.dir}/docs/javadocs/xni'
author='true' version='true'
@@ -422,6 +427,7 @@ Copyright:
/>
<mkdir dir='${build.dir}/docs/javadocs/xs'/>
<javadoc packagenames='org.apache.xerces.xs, org.apache.xerces.xs.datatypes'
+ source="1.4"
locale='en_US'
sourcepath='${build.src}' destdir='${build.dir}/docs/javadocs/xs'
author='true' version='true'
@@ -441,7 +447,9 @@ Copyright:
org.apache.xerces.xpointer'
locale='en_US'
sourcepath='${build.src}' destdir='${build.dir}/docs/javadocs/xerces2'
+ source="1.4"
classpath='${tools.dir}/${jar.resolver}'
+
author='true' version='true'
windowtitle='Xerces2 Implementation'
doctitle='Xerces2 Implementation'
@@ -455,6 +463,7 @@ Copyright:
locale='en_US'
sourcepath='${build.src}' destdir='${build.dir}/docs/javadocs/other'
author='true' version='true'
+ source="1.4"
windowtitle='Other Classes' doctitle='Other Classes'
bottom='${copyright}'
additionalparam='${additional.param}'
@@ -927,6 +936,7 @@ Copyright:
</copy>
<xjavac srcdir="${build.src}"
+ source="1.4" target="1.4"
destdir="${build.dest}"
debug="${debug}"
deprecation="${deprecation}"
@@ -1213,6 +1223,7 @@ Copyright:
</copy>
<xjavac srcdir="${build.src}"
+ source="1.4" target="1.4"
destdir="${build.dest}"
classpath="${build.dir}/classes:${tools.dir}/${jar.apis}"
debug="${debug}"
@@ -1361,6 +1372,7 @@ Copyright:
</copy>
<xjavac srcdir="${build.src}"
+ source="1.4" target="1.4"
destdir="${build.dest}"
classpath="${build.dir}/classes:${tools.dir}/${jar.apis}:${tools.dir}/${jar.resolver}"
debug="${debug}"