private void displayBundleInformation(Feature feature, String contentType) { List<BundleInfo> bundleInfos = feature.getBundles(); if (bundleInfos.isEmpty()) { System.out.println(contentType + " has no bundles."); } else { System.out.println(contentType + " contains followed bundles:"); for (BundleInfo featureBundle : bundleInfos) { int startLevel = featureBundle.getStartLevel(); StringBuilder sb = new StringBuilder(); sb.append(INDENT).append(featureBundle.getLocation()); if(startLevel > 0) { sb.append(" start-level=").append(startLevel); } if (featureBundle.isOverriden() != BundleInfo.BundleOverrideMode.NONE) { sb.append(" (overriden from " + featureBundle.getOriginalLocation() + ")"); } System.out.println(sb.toString()); } } }
private void displayBundleInformation(Feature feature, String contentType) { List<BundleInfo> bundleInfos = feature.getBundles(); if (bundleInfos.isEmpty()) { System.out.println(contentType + " has no bundles."); } else { System.out.println(contentType + " contains followed bundles:"); for (BundleInfo featureBundle : bundleInfos) { int startLevel = featureBundle.getStartLevel(); StringBuilder sb = new StringBuilder(); sb.append(INDENT).append(featureBundle.getLocation()); if(startLevel > 0) { sb.append(" start-level=").append(startLevel); } if (featureBundle.isOverriden() != BundleInfo.BundleOverrideMode.NONE) { sb.append(" (overriden from " + featureBundle.getOriginalLocation() + ")"); } System.out.println(sb.toString()); } } }
return; if (bundle.isOverriden() != BundleInfo.BundleOverrideMode.NONE) { LOGGER.info(" adding overriden maven artifact: " + bundle.getLocation() + " (original location: " + bundle.getOriginalLocation() + ")"); } else {
return; if (bundle.isOverriden() != BundleInfo.BundleOverrideMode.NONE) { LOGGER.info(" adding overriden maven artifact: " + bundle.getLocation() + " (original location: " + bundle.getOriginalLocation() + ")"); } else {
bundles.put(loc, resource); if (bi.isOverriden() == BundleInfo.BundleOverrideMode.OSGI) {