Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312305 - Default remote launch delegate only supports attaching
Summary: Default remote launch delegate only supports attaching
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: Michael Rennie CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 13:24 EDT by Michael Rennie CLA
Modified: 2010-05-10 14:17 EDT (History)
1 user (show)

See Also:
simon_kaegi: review+


Attachments
fix (2.82 KB, patch)
2010-05-10 13:24 EDT, Michael Rennie CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-05-10 13:24:08 EDT
Created attachment 167761 [details]
fix

code from HEAD

In its current state the default launch delegate only supports an AttachingConnector. We claim that you can simply provide a connector extension and you get the UI for free. This is true - as long as you provide only an attaching connector. 

Our API also allows you to provide a ListeningConnector as well.

The patch fixes this by checking the kind of connector returned from the connections manager.
Comment 1 Michael Rennie CLA 2010-05-10 13:25:26 EDT
This is a must fix for RC1 as our API claims you can provide a ListeningConnector - which you can, but you cannot launch it.
Comment 2 Michael Rennie CLA 2010-05-10 14:17:02 EDT
applied to HEAD