Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 231928 - Use another mechanism to call facet API
Summary: Use another mechanism to call facet API
Status: CLOSED DUPLICATE of bug 242635
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mark Hutchinson CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-13 16:20 EDT by Kathy Chan CLA
Modified: 2010-09-27 16:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Chan CLA 2008-05-13 16:20:42 EDT
Currently in FacetUtils, we call PlatformUI.getWorkbench().getProgressService().run() to call the facet API because of hanging problem found in bug 126757. 

This include:
- CreateFacetedProject
- AddFacetToProject
- SetFixedFacetOnProject
- SetFacetRuntimeOnProject

We should try to find a better way to call the facet API on a seperate thread without requiring the org.eclipse.ui and org.eclipse.swt plugin.  This is the sole reason the org.eclipse.jst.ws.consumption plugin has a dependency on org.eclipse.ui.
Comment 1 Mark Hutchinson CLA 2009-02-25 12:03:45 EST

*** This bug has been marked as a duplicate of bug 242635 ***
Comment 2 Mark Hutchinson CLA 2010-09-27 16:06:56 EDT
Closing duplicate