protected void doExecute(RepositoryAdmin admin) throws Exception { for (String bundle : bundles) { String[] target = getTarget(bundle); Resource[] resources = searchRepository(admin, target[0], target[1]); if (resources == null) { System.err.println("Unknown bundle and/or version: " + target[0]); } else { for (int resIdx = 0; resIdx < resources.length; resIdx++) { if (resIdx > 0) { System.out.println(""); } printResource(System.out, resources[resIdx]); } } } }
protected void doExecute(RepositoryAdmin admin) throws Exception { for (String bundle : bundles) { String[] target = getTarget(bundle); Resource[] resources = searchRepository(admin, target[0], target[1]); if (resources == null) { System.err.println("Unknown bundle and/or version: " + target[0]); } else { for (int resIdx = 0; resIdx < resources.length; resIdx++) { if (resIdx > 0) { System.out.println(""); } printResource(System.out, resources[resIdx]); } } } }
protected void doExecute(RepositoryAdmin admin) throws Exception { for (String bundle : bundles) { String[] target = getTarget(bundle); Resource[] resources = searchRepository(admin, target[0], target[1]); if (resources == null) { System.err.println("Unknown bundle and/or version: " + target[0]); } else { for (int resIdx = 0; resIdx < resources.length; resIdx++) { if (resIdx > 0) { System.out.println(""); } printResource(System.out, resources[resIdx]); } } } }