[pkg-java] r7032 - in trunk/java-wrappers: . debian
fourmond at alioth.debian.org
fourmond at alioth.debian.org
Mon Sep 22 23:23:38 UTC 2008
Author: fourmond
Date: 2008-09-22 23:23:37 +0000 (Mon, 22 Sep 2008)
New Revision: 7032
Modified:
trunk/java-wrappers/debian/changelog
trunk/java-wrappers/java-wrappers.sh
trunk/java-wrappers/jvm-list.sh
Log:
[java-wrappers] Fix the case when no arguments are given to find_java_runtime
Modified: trunk/java-wrappers/debian/changelog
===================================================================
--- trunk/java-wrappers/debian/changelog 2008-09-21 03:09:03 UTC (rev 7031)
+++ trunk/java-wrappers/debian/changelog 2008-09-22 23:23:37 UTC (rev 7032)
@@ -1,3 +1,10 @@
+java-wrappers (0.1.9) experimental; urgency=low
+
+ * Added a 'all' alias, and make find_java_runtime take no arguments
+ as all
+
+ -- Vincent Fourmond <fourmond at debian.org> 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
Modified: trunk/java-wrappers/java-wrappers.sh
===================================================================
--- trunk/java-wrappers/java-wrappers.sh 2008-09-21 03:09:03 UTC (rev 7031)
+++ trunk/java-wrappers/java-wrappers.sh 2008-09-22 23:23:37 UTC (rev 7032)
@@ -87,6 +87,12 @@
# /usr/lib/java-wrappers/jvm-list.sh
DIRS=""
+
+ # If no arguments are given, we take it as 'all'
+ if test -z "$1"; then
+ set all
+ fi
+
while test "$1"
do
found_jvm=$(eval "echo -n \$__jvm_$1")
Modified: trunk/java-wrappers/jvm-list.sh
===================================================================
--- trunk/java-wrappers/jvm-list.sh 2008-09-21 03:09:03 UTC (rev 7031)
+++ trunk/java-wrappers/jvm-list.sh 2008-09-22 23:23:37 UTC (rev 7032)
@@ -46,5 +46,7 @@
__jvm_gcj="$__jvm_gcj2"
__jvm_openjdk="$__jvm_openjdk6"
+# All JVMs
+__jvm_all="/usr/lib/jvm/* $__jvm_ibm $__jvm_sun4 $__jvm_sablevm $__jvm_kaffe"
# Probably here should come a few meaningful global aliases.
\ No newline at end of file
More information about the pkg-java-commits
mailing list