aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/virtuals3
-rw-r--r--src/java_config_2/Virtual.py1
2 files changed, 2 insertions, 2 deletions
diff --git a/config/virtuals b/config/virtuals
index 7aafd0b..c2e3992 100644
--- a/config/virtuals
+++ b/config/virtuals
@@ -1,5 +1,4 @@
# Example:
#
#javamail=gnu-javamail-1
-#javamail=sun-javamail-bin
-#jaf=sun-jaf-bin
+#javamail=sun-javamail
diff --git a/src/java_config_2/Virtual.py b/src/java_config_2/Virtual.py
index bc286db..d89bedd 100644
--- a/src/java_config_2/Virtual.py
+++ b/src/java_config_2/Virtual.py
@@ -180,6 +180,7 @@ class Virtual(Package):
# Improvement: we could put the VM in the list of providers
if self._manager.get_package(package) is not None:
self.active_package = self._manager.get_package(package)
+ break
# Set the minimum target version to the active package's target.
if self.active_package:
self.min_target = self.active_package.query("TARGET")