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
|
Description: Fixes the build failure with Java 11
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/build.xml
+++ b/build.xml
@@ -94,6 +94,32 @@
</depend>
<javac srcdir="${src.dir}" destdir="${build.dest}" nowarn="${nowarn}" debug="${debug}"
encoding="iso-8859-1"
+ deprecation="${deprecation}"
+ source="${source}"
+ target="${target}"
+ classpathref="classpath">
+ <include name="**/org/apache/axis/Constants.java"/>
+ <include name="**/org/apache/axis/Handler.java"/>
+ <include name="**/org/apache/axis/MessageContext.java"/>
+ <include name="**/org/apache/axis/components.logger.LogFactory.java"/>
+ <include name="**/org/apache/axis/utils.ClassUtils.java"/>
+ <include name="org.apache.axis.AxisFault"/>
+ <include name="org.apache.axis.handlers.soap.SOAPService"/>
+ <include name="org.apache.axis.utils.Messages"/>
+ <bootclasspath refid="boot.classpath"/>
+ </javac>
+ <!-- Compile the CORBA and EJB providers with Java 7 compatibility -->
+ <javac srcdir="${src.dir}" destdir="${build.dest}" nowarn="${nowarn}" debug="${debug}"
+ encoding="iso-8859-1"
+ deprecation="${deprecation}"
+ release="7"
+ classpathref="classpath">
+ <include name="**/*CORBAProvider.java" />
+ <include name="**/EJBProvider.java" />
+ <bootclasspath refid="boot.classpath"/>
+ </javac>
+ <javac srcdir="${src.dir}" destdir="${build.dest}" nowarn="${nowarn}" debug="${debug}"
+ encoding="iso-8859-1"
deprecation="${deprecation}"
source="${source}"
target="${target}"
|