Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356401 - "Enable Build Service" check box grey out after restarting rdt
Summary: "Enable Build Service" check box grey out after restarting rdt
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 4.0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Liu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 16:00 EDT by John Liu CLA
Modified: 2011-09-27 16:52 EDT (History)
0 users

See Also:


Attachments
patch to rdt.ui (1.63 KB, text/plain)
2011-08-31 16:07 EDT, John Liu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.