commit | 2d0b158da25f9aa14d4d5f11141f9853aefc1b82 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Fri Aug 26 13:26:41 2011 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Fri Aug 26 13:26:41 2011 +0000 |
tree | 5d5adb3eb67fabf81b123992ed6e066ad6359e70 | |
parent | 695c977ccc516866c95ccdc30e46541c884a4c2e [diff] |
Output a message if "resolve" could not resolve all bundles. (FELIX-3088) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1162112 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gogo/command/src/main/java/org/apache/felix/gogo/command/Basic.java b/gogo/command/src/main/java/org/apache/felix/gogo/command/Basic.java index a6776de..e90a018 100644 --- a/gogo/command/src/main/java/org/apache/felix/gogo/command/Basic.java +++ b/gogo/command/src/main/java/org/apache/felix/gogo/command/Basic.java
@@ -673,7 +673,10 @@ System.out.println("Package Admin service is unavailable."); } - pa.resolveBundles((bundles == null) ? null : bundles); + if (!pa.resolveBundles((bundles == null) ? null : bundles)) + { + System.out.println("Not all bundles could be resolved."); + } Util.ungetServices(m_bc, refs); }