Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312305

Summary: Default remote launch delegate only supports attaching
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact: Simon Kaegi <simon_kaegi>
Severity: major    
Priority: P3 CC: thatnitind
Version: 3.2Flags: simon_kaegi: review+
Target Milestone: 3.2 RC1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix none

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