File: disable-java-version-check.diff

package info (click to toggle)
gluegen2 2.3.2-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,420 kB
  • sloc: java: 45,952; xml: 2,960; ansic: 2,670; cpp: 1,694; sh: 1,251; pascal: 591; asm: 162; makefile: 53
file content (28 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download | duplicates (3)
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
Description: Disables the Java version check since the JRE in Debian always
 meets the minimum requirement and the check routinely breaks with the latest JREs.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/make/jogamp-env.xml
+++ b/make/jogamp-env.xml
@@ -45,21 +45,6 @@
       </condition>
     </fail>
 
-    <fail message="Unsupported Java version: ${ant.java.version}. Make sure that the version of the Java compiler is 1.6 (6.0) or greater.">
-        <condition>
-            <not>
-                <or>
-                    <equals arg1="${ant.java.version}" arg2="1.6"/>
-                    <equals arg1="${ant.java.version}" arg2="1.7"/>
-                    <equals arg1="${ant.java.version}" arg2="1.8"/>
-                    <equals arg1="${ant.java.version}" arg2="1.9"/>
-                    <equals arg1="${ant.java.version}" arg2="2.0"/>
-                    <equals arg1="${ant.java.version}" arg2="2.1"/>
-                </or>
-            </not>
-        </condition>
-    </fail>
-
   </target>
 
   <target name="jogamp.env.init" depends="jogamp.env.validation">