[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] FW: CatalogViewer

Hi,

CatalogViewer should not execute any blocking operation in the
constructor. Please capture a stack trace when the code gets stuck and
file a bug and put me on the CC. I can then look into it further.

Thanks,

Steffen

On Thu, Aug 25, 2011 at 11:07 PM, Stephanie House
<Stephanie.House@xxxxxxxxxx> wrote:
> 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
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev
>
>



-- 
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com