servletapi5/java150_build.patch

73 lines
3.0 KiB
Diff

Index: jakarta-tomcat-5.0.18-src/jakarta-servletapi-5/jsr152/build.xml
===================================================================
--- jakarta-tomcat-5.0.18-src.orig/jakarta-servletapi-5/jsr152/build.xml
+++ jakarta-tomcat-5.0.18-src/jakarta-servletapi-5/jsr152/build.xml
@@ -69,6 +69,7 @@
<!-- Java classes -->
<javac srcdir="src/share" destdir="${jsp-api.build}/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
+ source="1.4" target="1.4"
optimize="${compile.optimize}"
classpath="${servlet-api.jar}" />
@@ -97,6 +98,7 @@
<javadoc packagenames="javax.servlet.jsp.*"
sourcepath="${basedir}/src/share"
+ source="1.4"
classpath="${servlet-api.jar}"
destdir="${jsp-api.build}/docs/api"
use="true"
@@ -110,6 +112,7 @@
<!-- ======================== Build Examples =========================== -->
<target name="ant" depends="prepare">
<javac srcdir="src/ant" destdir="${jsp-api.build}/ant"
+ source="1.4" target="1.4"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
classpath="${ant.home}/lib/ant.jar" />
@@ -200,6 +203,7 @@
</txt2html>
<javac srcdir="examples/WEB-INF/classes"
+ source="1.4" target="1.4"
destdir="${jsp-api.build}/examples/WEB-INF/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
@@ -208,6 +212,7 @@
</javac>
<javac srcdir="examples/plugin/applet"
+ source="1.4" target="1.4"
destdir="${jsp-api.build}/examples/plugin/applet"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}"
Index: jakarta-tomcat-5.0.18-src/jakarta-servletapi-5/jsr154/build.xml
===================================================================
--- jakarta-tomcat-5.0.18-src.orig/jakarta-servletapi-5/jsr154/build.xml
+++ jakarta-tomcat-5.0.18-src/jakarta-servletapi-5/jsr154/build.xml
@@ -63,6 +63,7 @@
<!-- Java classes -->
<javac srcdir="src/share" destdir="${servlet-api.build}/classes"
+ source="1.4" target="1.4"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}"/>
@@ -88,6 +89,7 @@
<target name="javadoc" depends="prepare" unless="docs.uptodate">
<javadoc packagenames="javax.servlet.*"
+ source="1.4"
sourcepath="${basedir}/src/share"
destdir="${servlet-api.build}/docs/api"
use="true"
@@ -108,6 +110,7 @@
</copy>
<javac srcdir="examples/WEB-INF/classes"
+ source="1.4" target="1.4"
destdir="${servlet-api.build}/examples/WEB-INF/classes"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}"