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

Bug 342188

Summary: Cannot switch hosts for remote C/C++ project build with PTP 4.0
Product: [Tools] PTP Reporter: David Wootton <drwootton>
Component: RDTAssignee: Greg Watson <g.watson>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0.6   
Target Milestone: 5.0   
Hardware: All   
OS: Unix All   
Whiteboard:
Bug Depends on: 346993    
Bug Blocks:    

Description David Wootton CLA 2011-04-07 11:49:44 EDT
I have a case where a remote project was created with the remote host specified as z25c2s2. z25c2s2 has a filesystem which is shared with a number of other systems, including z25c2s1. The remote project was created in that directory. 

I am able to build the project on z25c2s2 without problems. However, I also want to build this project on z25c2s1 (z25c2s1 is AIX, z25c2s2 is Linux, although both could be Linux or both AIX) 

I have remote tools connections defined to both z25c2s1 and z25c2s2. If I edit the service configuration for the remote project and change the target connection for the build service, the build still runs on the node the project was defined for, as verified by putting a 'hostname' command in the makefile. Closing and re-opening the project results in the build still running on the original node. If I restart Eclipse, ten the build runs on the second (z25c2s1) node. 

This is with the PTP 4.0.7 build.
Comment 1 Greg Watson CLA 2011-05-27 15:57:38 EDT
A fix has be applied to HEAD. Please reopen if you still have the problem.