[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] require java 1.4 or later

From: Olaf Hering <olh_at_suse.de>
Date: Wed, 23 Jan 2008 16:02:26 +0100

No idea if that patch will work for everyone.
At least for openSuSE we have to use java 1.4 mode.
Cant remember why.

---
 configure.ac                               |    2 +-
 subversion/bindings/javahl/build/build.xml |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
--- a/configure.ac
+++ b/configure.ac
@@ -565,7 +565,7 @@ fi
 AC_PATH_PROGS(PYTHON, "$PYTHON", none)
 
 # The minimum version for the JVM runtime for our Java bytecode.
-JAVA_OLDEST_WORKING_VER='1.2'
+JAVA_OLDEST_WORKING_VER='1.4'
 # SVN_CHECK_JDK sets $JAVA_CLASSPATH
 SVN_CHECK_JDK($JAVA_OLDEST_WORKING_VER)
 
--- a/subversion/bindings/javahl/build/build.xml
+++ b/subversion/bindings/javahl/build/build.xml
@@ -21,7 +21,7 @@
 
     <target name="compile" unless="junit.path"
             description="Compile the Java binding source files">
-        <javac compiler="modern" destdir="classes">
+        <javac source="1.4" target="1.4" destdir="classes">
             <src path="src"/>
             <exclude name="org/tigris/subversion/javahl/tests/**"/>
         </javac>
@@ -29,7 +29,7 @@
 
     <target name="compile-tests" if="junit.path"
             description="Compile the Java test source files">
-        <javac compiler="modern" destdir="classes">
+        <javac source="1.4" target="1.4" destdir="classes">
             <src path="src"/>
             <classpath path="${junit.path}"/>
         </javac>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-23 16:02:43 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.