Hey all,
When I try to create a new CatalogViewer, the call never returns. Any
suggestions?
Catalog catalog = new Catalog();
catalog.setEnvironment(DiscoveryCore.createEnvironment());
catalog.setVerifyUpdateSiteAvailability(false);
// add strategy for retrieving remote catalog
RemoteBundleDiscoveryStrategy remoteDiscoveryStrategy = new
RemoteBundleDiscoveryStrategy();
remoteDiscoveryStrategy.setDirectoryUrl("http://tools.ext.nokia.com/carbide/updates/3.0/discovery/directory.xml");
catalog.getDiscoveryStrategies().add(remoteDiscoveryStrategy);
CatalogConfiguration configuration = new CatalogConfiguration();
configuration.setShowTagFilter(false);
catalogViewer = new CatalogViewer(catalog, getEditorSite(),
context, configuration);
Thanks!
This message (including any attachments) is intended only for the use of the
individual or entity to which it is addressed and may contain information that
is non-public, proprietary, privileged, confidential, and exempt from
disclosure under applicable law or may constitute as attorney work product. If
you are not the intended recipient, you are hereby notified that any use,
dissemination, distribution, or copying of this communication is strictly
prohibited. If you have received this communication in error, notify us
immediately by telephone and (i) destroy this message if a facsimile or (ii)
delete this message immediately if this is an electronic communication.
Thank you.
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev