commit | 27f65a7d34c21ae9b77f2b6457536d41d0d7e10f | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Fri Mar 05 07:30:17 2010 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Fri Mar 05 07:30:17 2010 +0000 |
tree | cae13cc61df831facdc51c8b87ffbb1ede108cbf | |
parent | 8eec632d32a85067bc7c50e5288d1cb55080b0af [diff] |
[webconsole] remove optional dependencies resolution as it can take a fair amount of time git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@919322 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java index d697b66..954d7a9 100644 --- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java +++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/obr/BundleRepositoryRender.java
@@ -398,7 +398,7 @@ repos.addAll(Arrays.asList(admin.listRepositories())); Resolver resolver = admin.resolver((Repository[]) repos.toArray(new Repository[repos.size()])); resolver.add(resource); - resolver.resolve(); + resolver.resolve(Resolver.NO_OPTIONAL_RESOURCES); Resource[] required = resolver.getRequiredResources(); for (int i = 0; required != null && i < required.length; i++) {