Author: gnodet Date: Mon Oct 4 07:49:14 2010 New Revision: 1004136 URL: http://svn.apache.org/viewvc?rev=1004136&view=rev Log: [KARAF-236] Command Features:info with tree switch displays partial information Patch provided by Ćukasz Dywicki
Modified: karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/InfoFeatureCommand.java Modified: karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/InfoFeatureCommand.java URL: http://svn.apache.org/viewvc/karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/InfoFeatureCommand.java?rev=1004136&r1=1004135&r2=1004136&view=diff ============================================================================== --- karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/InfoFeatureCommand.java (original) +++ karaf/trunk/features/command/src/main/java/org/apache/karaf/features/command/InfoFeatureCommand.java Mon Oct 4 07:49:14 2010 @@ -150,7 +150,7 @@ public class InfoFeatureCommand extends if (bundle) { List<BundleInfo> bundles = resolved != null ? resolved.getBundles() : feature.getBundles(); for (int i = 0, j = bundles.size(); i < j; i++) { - System.out.println(prefix + " " + (i+1 == j ? "\\" : "+") + " " + bundles.get(i)); + System.out.println(prefix + " " + (i+1 == j ? "\\" : "+") + " " + bundles.get(i).getLocation()); } } List<Feature> dependencies = resolved != null ? resolved.getDependencies() : feature.getDependencies();