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

Bug 356401

Summary: "Enable Build Service" check box grey out after restarting rdt
Product: [Tools] PTP Reporter: John Liu <jwsliu>
Component: RDTAssignee: John Liu <jwsliu>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to rdt.ui none

Description John Liu CLA 2011-08-31 16:00:05 EDT
Steps to reproduce: 
1) Create a Remote C/C++ project and disable build service in service configuration. 

2) Restart RDT and open the project again. Go to service configuration and click the check box to enable the build service. The check box will grey out and won't be able to enable/disable anymore. (see linked picture for more detail).
Comment 1 John Liu CLA 2011-08-31 16:04:08 EDT
This is a regression after we added local service provider. The function getDefaultPath in the class RemoteBuildServiceFileLocationWidget could get a null pathString when the given connection is a local connection. This exception causes the service configuration widget behaves incorrectly.
Comment 2 John Liu CLA 2011-08-31 16:07:09 EDT
Created attachment 202563 [details]
patch to rdt.ui
Comment 3 John Liu CLA 2011-08-31 16:07:54 EDT
(In reply to comment #2)
> Created attachment 202563 [details]
> patch to rdt.ui

check the code into ptp_4_1.
Comment 4 John Liu CLA 2011-09-27 16:52:26 EDT
Check the patch into head stream.