Description: build.xml: Allow build with OpenJDK.
Author: Damien Raude-Morvan <drazzib@debian.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -45,8 +45,6 @@
 src/org/olap4j/driver/xmla/XmlaOlap4jDriverVersion.java" />
 
     <target name="checkJdkVersion" unless="jdk17.present">
-      <fail message="The 'jar' target (and dependent targets 'dist', 'binzip')
-                     must be run under JDK 1.7." />
     </target>
 
     <condition property="jdk15.present">
@@ -141,7 +139,7 @@
     </target>
 
     <target name="compile"
-        depends="init, compile.pre, compileJdk15, compileJdk16, compileJdk17, compile.src_copy, compile.res_copy, compile.lic_copy, compile.post"
+        depends="init, compile.pre, compileJdk17, compile.src_copy, compile.res_copy, compile.lic_copy, compile.post"
         description="Performs all the steps to prepare the bin directory with a complete compilation" />
 
     <target name="jar" depends="checkJdkVersion, compile, compile-tests, set-build.id, generate.manifest"
@@ -243,7 +241,9 @@
           <path refid="classpath" />
         </classpath>
         <src path="${src.dir}" />
-        <include name="org/olap4j/driver/xmla/FactoryJdbc41Impl.java"/>
+        <exclude name="org/olap4j/driver/xmla/FactoryJdbc4Impl.java"/>
+        <exclude name="org/olap4j/driver/xmla/FactoryJdbc4Plus.java"/>
+        <exclude name="org/olap4j/driver/xmla/*Jdbc3*.java"/>
       </javac>
     </target>
 
