Author: tmancill Date: 2014-05-03 22:53:43 +0000 (Sat, 03 May 2014) New Revision: 18114
Added: tags/java-wrappers/0.1.28/ tags/java-wrappers/0.1.28/debian/changelog tags/java-wrappers/0.1.28/debian/control tags/java-wrappers/0.1.28/jvm-list.sh Removed: tags/java-wrappers/0.1.28/debian/changelog tags/java-wrappers/0.1.28/debian/control tags/java-wrappers/0.1.28/jvm-list.sh Log: [svn-buildpackage] Tagging java-wrappers 0.1.28 Deleted: tags/java-wrappers/0.1.28/debian/changelog =================================================================== --- trunk/java-wrappers/debian/changelog 2014-04-06 22:28:59 UTC (rev 17992) +++ tags/java-wrappers/0.1.28/debian/changelog 2014-05-03 22:53:43 UTC (rev 18114) @@ -1,214 +0,0 @@ -java-wrappers (0.1.27) unstable; urgency=low - - * Prefer openJDK7 as the "java6" runtime (closes: #714748) - * Drop the use of DESTDIR, remnants of a long gone past (closes: #721366) - * Move arch-indep files to /usr/share/java-wrappers, but provide - symlinks for existing wrappers (closes: #646861) - * Conforms to standards 3.9.4 - - -- Vincent Fourmond <[email protected]> Wed, 18 Sep 2013 22:25:04 +0200 - -java-wrappers (0.1.26) unstable; urgency=low - - * Fix run_jar (closes: #709976) (and, yes, it is fixed on a Wednesday, - though not the one announced initially ;-) ...) - * Lift the assumption that alternatives live in /usr/lib/jvm (closes: - #711850) - - -- Vincent Fourmond <[email protected]> Wed, 19 Jun 2013 21:50:43 +0200 - -java-wrappers (0.1.25) unstable; urgency=low - - * Do not implicitly include . in classpaths (closes: #664515) - - -- Vincent Fourmond <[email protected]> Sun, 18 Mar 2012 20:12:13 +0100 - -java-wrappers (0.1.24) unstable; urgency=low - - * Drop the use of dpkg-architecture in favor of dpkg (closes: #641499) - * Take into account openjdk-7, patch courtesy of Adrian Bunk - <[email protected]> (closes: #641420) - - -- Vincent Fourmond <[email protected]> Wed, 14 Sep 2011 18:28:00 +0200 - -java-wrappers (0.1.23) unstable; urgency=medium - - * Correctly find the now architecture-dependent openjdk6 flavor (closes: - #640813) - * Urgency medium to avoid breaking applications in testing when openjdk6 migrates - - -- Vincent Fourmond <[email protected]> Fri, 09 Sep 2011 22:56:25 +0200 - -java-wrappers (0.1.22) unstable; urgency=low - - * Now correctly following relative links from classpaths. - * Fix a final glitch, ready for upload to unstable - - -- Vincent Fourmond <[email protected]> Wed, 06 Apr 2011 10:33:57 +0200 - -java-wrappers (0.1.21) experimental; urgency=low - - * Final form of the find_jar_classpath function that now only performs - path expansion for the argument, but not for the elements found in the - manifests that should be full paths anyway (closes: #563197) - * Trim down significantly the number of JVMs available, as fortunately - the dozens-of-jvms dark age is long gone (closes: #612903) - * Make it sure that mistakes such as find_java_runtime default-jre won't - go unnoticed. - - -- Vincent Fourmond <[email protected]> Mon, 04 Apr 2011 21:08:31 +0200 - -java-wrappers (0.1.20) experimental; urgency=low - - * Adding unzip as we need it to get the classpath correctly... - * Switch to dh 7 - - -- Vincent Fourmond <[email protected]> Mon, 04 Apr 2011 09:44:15 +0200 - -java-wrappers (0.1.19) experimental; urgency=low - - * First draft of a recursive classpath resolution function. - - -- Vincent Fourmond <[email protected]> Sun, 03 Apr 2011 01:38:16 +0200 - -java-wrappers (0.1.18) unstable; urgency=low - - * The "let's break Java applications in Wheezy !" upload, or, in other - words, upload to unstable - * Switching to format 3.0 (native) - - -- Vincent Fourmond <[email protected]> Fri, 11 Feb 2011 13:35:24 +0100 - -java-wrappers (0.1.17) experimental; urgency=low - - [ Gabriele Giacone ] - * First step toward java-alternatives integration - - [ Vincent Fourmond ] - * Final step (closes: #609731); thanks Gabriele for the first ;-)... - * Conforms to standards 3.9.1 - - -- Vincent Fourmond <[email protected]> Thu, 13 Jan 2011 23:01:43 +0100 - -java-wrappers (0.1.16) unstable; urgency=low - - * Adding default as a valid jre choice, and make it the default for - 'all'; patch courtesy of Torsten Werner <[email protected]> - (closes: #580180) - * Slightly arrange the documentation, which addresses to some extent bug - #578944, but probably not satisfyingly enough. - * Conforms to 3.8.4 - * Adding ${misc:Depends} for potential dh-induced dependencies - - -- Vincent Fourmond <[email protected]> Tue, 04 May 2010 23:42:54 +0200 - -java-wrappers (0.1.15) unstable; urgency=low - - * Switch to Section java - - -- Vincent Fourmond <[email protected]> Wed, 29 Apr 2009 20:04:02 +0200 - -java-wrappers (0.1.14) unstable; urgency=low - - * Fix absolute path in locate_jar (closes: #526087). Thanks to Paul - Millar <[email protected]> for spotting and for the patch. - * Conforms to 3.8.1 - - -- Vincent Fourmond <[email protected]> Wed, 29 Apr 2009 19:13:40 +0200 - -java-wrappers (0.1.13) unstable; urgency=low - - * Now that lenny is out, it's time to an upload to unstable ! - - -- Vincent Fourmond <[email protected]> Sun, 15 Feb 2009 15:41:01 +0100 - -java-wrappers (0.1.12) experimental; urgency=low - - * Now provides java2, java5 and java6 aliases that correspond respectively - to the java2-runtime, java5-runtime and java6-runtime virtual packages - (closes: #514339) - - -- Vincent Fourmond <[email protected]> Sun, 08 Feb 2009 16:38:13 +0100 - -java-wrappers (0.1.11) experimental; urgency=low - - * Adding (back) the sunmin5 alias for jabref - - -- Vincent Fourmond <[email protected]> Sat, 22 Nov 2008 14:13:19 +0100 - -java-wrappers (0.1.10) experimental; urgency=low - - * Added Vcs-* fields - * Adding cacaooj6 runtime + adding it to the openjdk alias. (closes: #503819) - - -- Vincent Fourmond <[email protected]> Sun, 16 Nov 2008 03:17:33 +0100 - -java-wrappers (0.1.9) experimental; urgency=low - - * Added a 'all' alias, and make find_java_runtime take no arguments - as all - - -- Vincent Fourmond <[email protected]> Mon, 22 Sep 2008 23:57:26 +0200 - -java-wrappers (0.1.8) experimental; urgency=low - - * The 'oops, I missed a syntax error release' - fix a missing - fi in java-wrappers.sh - * Fixed a few other syntax errors - - -- Vincent Fourmond <[email protected]> Tue, 16 Sep 2008 00:04:37 +0200 - -java-wrappers (0.1.7) experimental; urgency=low - - * Rewrite of find_java_runtime in a much more flexible fashion... - (closes: #494744) - - -- Vincent Fourmond <[email protected]> Tue, 22 Jul 2008 23:49:08 +0200 - -java-wrappers (0.1.6) unstable; urgency=low - - * Add openjdk6 to the list of runtime flavors - * java-wrappers.sh now understands a JAVA_FLAVOR environment variable. - * Already conforms to policy 3.8.0 - - -- Vincent Fourmond <[email protected]> Sat, 19 Jul 2008 22:59:31 +0200 - -java-wrappers (0.1.5) unstable; urgency=low - - * Fix the pattern for conjuring up a JAVA_HOME when it is missing. - (closes: #478054) - - -- Vincent Fourmond <[email protected]> Sat, 03 May 2008 09:30:16 +0200 - -java-wrappers (0.1.4) unstable; urgency=low - - * Improved find_java_runtime to take several arguments - - -- Vincent Fourmond <[email protected]> Wed, 27 Feb 2008 00:42:03 +0100 - -java-wrappers (0.1.3) unstable; urgency=low - - * Small documentation fixes - * Fix small typos in java-wrappers.sh - * Fix a problem with JAVA_BINDIR - - -- Vincent Fourmond <[email protected]> Wed, 27 Feb 2008 00:38:23 +0100 - -java-wrappers (0.1.2) unstable; urgency=low - - * Adding link for the LGPL in debian/copyright - * Closing ITP (closes: #467067) - - -- Vincent Fourmond <[email protected]> Fri, 22 Feb 2008 20:38:52 +0100 - -java-wrappers (0.1.1) unstable; urgency=low - - * Ooops, maintainer is Java Packages, not java mailing-list ! - - -- Vincent Fourmond <[email protected]> Wed, 13 Feb 2008 22:10:34 +0100 - -java-wrappers (0.1) unstable; urgency=low - - * Initial release. - - -- Vincent Fourmond <[email protected]> Mon, 11 Feb 2008 20:02:05 +0100 Copied: tags/java-wrappers/0.1.28/debian/changelog (from rev 18113, trunk/java-wrappers/debian/changelog) =================================================================== --- tags/java-wrappers/0.1.28/debian/changelog (rev 0) +++ tags/java-wrappers/0.1.28/debian/changelog 2014-05-03 22:53:43 UTC (rev 18114) @@ -0,0 +1,223 @@ +java-wrappers (0.1.28) unstable; urgency=medium + + * Team upload. + * Add support for detecting Oracle JRE/JDK 7 and 8 (when installed + from a java-package .deb). (Closes: #743248) + * Bump Standards-Version to 3.9.5 (no changes). + + -- tony mancill <[email protected]> Sat, 03 May 2014 15:43:56 -0700 + +java-wrappers (0.1.27) unstable; urgency=low + + * Prefer openJDK7 as the "java6" runtime (closes: #714748) + * Drop the use of DESTDIR, remnants of a long gone past (closes: #721366) + * Move arch-indep files to /usr/share/java-wrappers, but provide + symlinks for existing wrappers (closes: #646861) + * Conforms to standards 3.9.4 + + -- Vincent Fourmond <[email protected]> Wed, 18 Sep 2013 22:25:04 +0200 + +java-wrappers (0.1.26) unstable; urgency=low + + * Fix run_jar (closes: #709976) (and, yes, it is fixed on a Wednesday, + though not the one announced initially ;-) ...) + * Lift the assumption that alternatives live in /usr/lib/jvm (closes: + #711850) + + -- Vincent Fourmond <[email protected]> Wed, 19 Jun 2013 21:50:43 +0200 + +java-wrappers (0.1.25) unstable; urgency=low + + * Do not implicitly include . in classpaths (closes: #664515) + + -- Vincent Fourmond <[email protected]> Sun, 18 Mar 2012 20:12:13 +0100 + +java-wrappers (0.1.24) unstable; urgency=low + + * Drop the use of dpkg-architecture in favor of dpkg (closes: #641499) + * Take into account openjdk-7, patch courtesy of Adrian Bunk + <[email protected]> (closes: #641420) + + -- Vincent Fourmond <[email protected]> Wed, 14 Sep 2011 18:28:00 +0200 + +java-wrappers (0.1.23) unstable; urgency=medium + + * Correctly find the now architecture-dependent openjdk6 flavor (closes: + #640813) + * Urgency medium to avoid breaking applications in testing when openjdk6 migrates + + -- Vincent Fourmond <[email protected]> Fri, 09 Sep 2011 22:56:25 +0200 + +java-wrappers (0.1.22) unstable; urgency=low + + * Now correctly following relative links from classpaths. + * Fix a final glitch, ready for upload to unstable + + -- Vincent Fourmond <[email protected]> Wed, 06 Apr 2011 10:33:57 +0200 + +java-wrappers (0.1.21) experimental; urgency=low + + * Final form of the find_jar_classpath function that now only performs + path expansion for the argument, but not for the elements found in the + manifests that should be full paths anyway (closes: #563197) + * Trim down significantly the number of JVMs available, as fortunately + the dozens-of-jvms dark age is long gone (closes: #612903) + * Make it sure that mistakes such as find_java_runtime default-jre won't + go unnoticed. + + -- Vincent Fourmond <[email protected]> Mon, 04 Apr 2011 21:08:31 +0200 + +java-wrappers (0.1.20) experimental; urgency=low + + * Adding unzip as we need it to get the classpath correctly... + * Switch to dh 7 + + -- Vincent Fourmond <[email protected]> Mon, 04 Apr 2011 09:44:15 +0200 + +java-wrappers (0.1.19) experimental; urgency=low + + * First draft of a recursive classpath resolution function. + + -- Vincent Fourmond <[email protected]> Sun, 03 Apr 2011 01:38:16 +0200 + +java-wrappers (0.1.18) unstable; urgency=low + + * The "let's break Java applications in Wheezy !" upload, or, in other + words, upload to unstable + * Switching to format 3.0 (native) + + -- Vincent Fourmond <[email protected]> Fri, 11 Feb 2011 13:35:24 +0100 + +java-wrappers (0.1.17) experimental; urgency=low + + [ Gabriele Giacone ] + * First step toward java-alternatives integration + + [ Vincent Fourmond ] + * Final step (closes: #609731); thanks Gabriele for the first ;-)... + * Conforms to standards 3.9.1 + + -- Vincent Fourmond <[email protected]> Thu, 13 Jan 2011 23:01:43 +0100 + +java-wrappers (0.1.16) unstable; urgency=low + + * Adding default as a valid jre choice, and make it the default for + 'all'; patch courtesy of Torsten Werner <[email protected]> + (closes: #580180) + * Slightly arrange the documentation, which addresses to some extent bug + #578944, but probably not satisfyingly enough. + * Conforms to 3.8.4 + * Adding ${misc:Depends} for potential dh-induced dependencies + + -- Vincent Fourmond <[email protected]> Tue, 04 May 2010 23:42:54 +0200 + +java-wrappers (0.1.15) unstable; urgency=low + + * Switch to Section java + + -- Vincent Fourmond <[email protected]> Wed, 29 Apr 2009 20:04:02 +0200 + +java-wrappers (0.1.14) unstable; urgency=low + + * Fix absolute path in locate_jar (closes: #526087). Thanks to Paul + Millar <[email protected]> for spotting and for the patch. + * Conforms to 3.8.1 + + -- Vincent Fourmond <[email protected]> Wed, 29 Apr 2009 19:13:40 +0200 + +java-wrappers (0.1.13) unstable; urgency=low + + * Now that lenny is out, it's time to an upload to unstable ! + + -- Vincent Fourmond <[email protected]> Sun, 15 Feb 2009 15:41:01 +0100 + +java-wrappers (0.1.12) experimental; urgency=low + + * Now provides java2, java5 and java6 aliases that correspond respectively + to the java2-runtime, java5-runtime and java6-runtime virtual packages + (closes: #514339) + + -- Vincent Fourmond <[email protected]> Sun, 08 Feb 2009 16:38:13 +0100 + +java-wrappers (0.1.11) experimental; urgency=low + + * Adding (back) the sunmin5 alias for jabref + + -- Vincent Fourmond <[email protected]> Sat, 22 Nov 2008 14:13:19 +0100 + +java-wrappers (0.1.10) experimental; urgency=low + + * Added Vcs-* fields + * Adding cacaooj6 runtime + adding it to the openjdk alias. (closes: #503819) + + -- Vincent Fourmond <[email protected]> Sun, 16 Nov 2008 03:17:33 +0100 + +java-wrappers (0.1.9) experimental; urgency=low + + * Added a 'all' alias, and make find_java_runtime take no arguments + as all + + -- Vincent Fourmond <[email protected]> Mon, 22 Sep 2008 23:57:26 +0200 + +java-wrappers (0.1.8) experimental; urgency=low + + * The 'oops, I missed a syntax error release' - fix a missing + fi in java-wrappers.sh + * Fixed a few other syntax errors + + -- Vincent Fourmond <[email protected]> Tue, 16 Sep 2008 00:04:37 +0200 + +java-wrappers (0.1.7) experimental; urgency=low + + * Rewrite of find_java_runtime in a much more flexible fashion... + (closes: #494744) + + -- Vincent Fourmond <[email protected]> Tue, 22 Jul 2008 23:49:08 +0200 + +java-wrappers (0.1.6) unstable; urgency=low + + * Add openjdk6 to the list of runtime flavors + * java-wrappers.sh now understands a JAVA_FLAVOR environment variable. + * Already conforms to policy 3.8.0 + + -- Vincent Fourmond <[email protected]> Sat, 19 Jul 2008 22:59:31 +0200 + +java-wrappers (0.1.5) unstable; urgency=low + + * Fix the pattern for conjuring up a JAVA_HOME when it is missing. + (closes: #478054) + + -- Vincent Fourmond <[email protected]> Sat, 03 May 2008 09:30:16 +0200 + +java-wrappers (0.1.4) unstable; urgency=low + + * Improved find_java_runtime to take several arguments + + -- Vincent Fourmond <[email protected]> Wed, 27 Feb 2008 00:42:03 +0100 + +java-wrappers (0.1.3) unstable; urgency=low + + * Small documentation fixes + * Fix small typos in java-wrappers.sh + * Fix a problem with JAVA_BINDIR + + -- Vincent Fourmond <[email protected]> Wed, 27 Feb 2008 00:38:23 +0100 + +java-wrappers (0.1.2) unstable; urgency=low + + * Adding link for the LGPL in debian/copyright + * Closing ITP (closes: #467067) + + -- Vincent Fourmond <[email protected]> Fri, 22 Feb 2008 20:38:52 +0100 + +java-wrappers (0.1.1) unstable; urgency=low + + * Ooops, maintainer is Java Packages, not java mailing-list ! + + -- Vincent Fourmond <[email protected]> Wed, 13 Feb 2008 22:10:34 +0100 + +java-wrappers (0.1) unstable; urgency=low + + * Initial release. + + -- Vincent Fourmond <[email protected]> Mon, 11 Feb 2008 20:02:05 +0100 Deleted: tags/java-wrappers/0.1.28/debian/control =================================================================== --- trunk/java-wrappers/debian/control 2014-04-06 22:28:59 UTC (rev 17992) +++ tags/java-wrappers/0.1.28/debian/control 2014-05-03 22:53:43 UTC (rev 18114) @@ -1,20 +0,0 @@ -Source: java-wrappers -Section: java -Priority: optional -Maintainer: Debian Java Maintainers <[email protected]> -Uploaders: Vincent Fourmond <[email protected]> -Build-Depends: debhelper (>= 9) -Standards-Version: 3.9.4 -Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/java-wrappers -Vcs-Browser: http://svn.debian.org/viewsvn/pkg-java/trunk/java-wrappers - - -Package: java-wrappers -Depends: ${misc:Depends}, unzip -Architecture: all -Description: wrappers for java executables - Wrapper script facilities for java executables. - . - This package can be used by packagers of java programs to - provide java runtime detection, jar lookup and a consistent - user interface (debugging, environment variables). \ No newline at end of file Copied: tags/java-wrappers/0.1.28/debian/control (from rev 18113, trunk/java-wrappers/debian/control) =================================================================== --- tags/java-wrappers/0.1.28/debian/control (rev 0) +++ tags/java-wrappers/0.1.28/debian/control 2014-05-03 22:53:43 UTC (rev 18114) @@ -0,0 +1,20 @@ +Source: java-wrappers +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Vincent Fourmond <[email protected]> +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.5 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/java-wrappers +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-java/trunk/java-wrappers + + +Package: java-wrappers +Depends: ${misc:Depends}, unzip +Architecture: all +Description: wrappers for java executables + Wrapper script facilities for java executables. + . + This package can be used by packagers of java programs to + provide java runtime detection, jar lookup and a consistent + user interface (debugging, environment variables). Deleted: tags/java-wrappers/0.1.28/jvm-list.sh =================================================================== --- trunk/java-wrappers/jvm-list.sh 2014-04-06 22:28:59 UTC (rev 17992) +++ tags/java-wrappers/0.1.28/jvm-list.sh 2014-05-03 22:53:43 UTC (rev 18114) @@ -1,64 +0,0 @@ -# jvm-list.sh: a list of available JVM and some shortcuts -# Copyright 2008, 2009 by Vincent Fourmond <[email protected]> -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. - -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. - -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -# All variables defined here can be used as arguments for the -# find_java_runtime function if you strip the __jvm_ at the beginning -# of the variable... -# -# They can also be used for the JAVA_FLAVOR environment variable, see -# java-wrappers(7). - -__arch=$(dpkg --print-architecture) - -# default runtime -__jvm_default="/usr/lib/jvm/default-java" - -# Sun runtimes -__jvm_sun6="/usr/lib/jvm/java-6-sun /usr/lib/j2*1.6-sun" - -# all sun runtimes -__jvm_sun="$__jvm_sun6" -# Sun version at least 5: -__jvm_sunmin5="$__jvm_sun6" - -# Now, free runtimes: -__jvm_gcj2="/usr/lib/jvm/java-*-gcj-4.* " -__jvm_gcj5="/usr/lib/jvm/java-1.5*-gcj-4.* " -__jvm_openjdk6="/usr/lib/jvm/java-6-openjdk-$__arch /usr/lib/jvm/java-6-openjdk" -__jvm_openjdk7="/usr/lib/jvm/java-7-openjdk-$__arch /usr/lib/jvm/java-7-openjdk" - - -# And a few aliases -__jvm_gcj="$__jvm_gcj2" -__jvm_openjdk="$__jvm_openjdk7 $__jvm_openjdk6" - -# The java* runtimes: -__jvm_java7="$__jvm_openjdk7" -# -> corresponds to Provides: java6-runtime -__jvm_java6="$__jvm_java7 $__jvm_openjdk6 $__jvm_sun6" -# -> corresponds to Provides: java5-runtime -__jvm_java5="$__jvm_gcj5 $__jvm_java6" -# -> corresponds to Provides: java2-runtime -__jvm_java2="$__jvm_java5 $__jvm_gcj2" - -# current java alternatives -__jvm_alt=$(readlink /etc/alternatives/java|sed -n 's!\(.*\)/bin/[^/]*$!\1!p') - -# All JVMs -__jvm_all="$__jvm_default /usr/lib/jvm/*" - -# Probably here should come a few meaningful global aliases. Copied: tags/java-wrappers/0.1.28/jvm-list.sh (from rev 18005, trunk/java-wrappers/jvm-list.sh) =================================================================== --- tags/java-wrappers/0.1.28/jvm-list.sh (rev 0) +++ tags/java-wrappers/0.1.28/jvm-list.sh 2014-05-03 22:53:43 UTC (rev 18114) @@ -0,0 +1,70 @@ +# jvm-list.sh: a list of available JVM and some shortcuts +# Copyright 2008, 2009 by Vincent Fourmond <[email protected]> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. + +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +# All variables defined here can be used as arguments for the +# find_java_runtime function if you strip the __jvm_ at the beginning +# of the variable... +# +# They can also be used for the JAVA_FLAVOR environment variable, see +# java-wrappers(7). + +__arch=$(dpkg --print-architecture) + +# default runtime +__jvm_default="/usr/lib/jvm/default-java" + +# Sun runtimes +__jvm_sun6="/usr/lib/jvm/java-6-sun /usr/lib/j2*1.6-sun" + +# Oracle runtimes +__jvm_oracle7="/usr/lib/jvm/jdk-7-oracle-* /usr/lib/jvm/jre-7-oracle-*" +__jvm_oracle8="/usr/lib/jvm/jdk-8-oracle-* /usr/lib/jvm/jre-8-oracle-*" + +# all sun runtimes +__jvm_sun="$__jvm_sun6" +# Sun version at least 5: +__jvm_sunmin5="$__jvm_sun6" + +# Now, free runtimes: +__jvm_gcj2="/usr/lib/jvm/java-*-gcj-4.* " +__jvm_gcj5="/usr/lib/jvm/java-1.5*-gcj-4.* " +__jvm_openjdk6="/usr/lib/jvm/java-6-openjdk-$__arch /usr/lib/jvm/java-6-openjdk" +__jvm_openjdk7="/usr/lib/jvm/java-7-openjdk-$__arch /usr/lib/jvm/java-7-openjdk" +__jvm_openjdk8="/usr/lib/jvm/java-8-openjdk-$__arch /usr/lib/jvm/java-8-openjdk" + + +# And a few aliases +__jvm_gcj="$__jvm_gcj2" +__jvm_openjdk="$__jvm_openjdk7 $__jvm_openjdk6" + +# The java* runtimes: +__jvm_java8="$__jvm_openjdk8 $__jvm_oracle8" +__jvm_java7="$__jvm_java8 $__jvm_openjdk7 $__jvm_oracle7" +# -> corresponds to Provides: java6-runtime +__jvm_java6="$__jvm_java7 $__jvm_openjdk6 $__jvm_sun6" +# -> corresponds to Provides: java5-runtime +__jvm_java5="$__jvm_gcj5 $__jvm_java6" +# -> corresponds to Provides: java2-runtime +__jvm_java2="$__jvm_java5 $__jvm_gcj2" + +# current java alternatives +__jvm_alt=$(readlink /etc/alternatives/java|sed -n 's!\(.*\)/bin/[^/]*$!\1!p') + +# All JVMs +__jvm_all="$__jvm_default /usr/lib/jvm/*" + +# Probably here should come a few meaningful global aliases. _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

