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

Bug 355021

Summary: [RDT] Two connections with different userids, Remote proj location chooses wrong home dir
Product: [Tools] PTP Reporter: Beth Tibbitts <beth>
Component: RDTAssignee: Project Inbox <ptp-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: g.watson
Version: 5.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Beth Tibbitts CLA 2011-08-17 22:16:45 EDT
Create a connection to a remote machine.
I created a remote project (with Remote Tools) to that machine with userid userA.
Name the project e.g. projnameA
The default location chooses the correct location, /home/userA/projnameA
I closed and restarted eclipse.

Create a connection to the same remote machine with another userid, say userB.
Name the project e.g. projnameB
The default location chosen is /home/userA/projnameB

It has chosen the user name from the original connection, not the new one just created
Comment 1 Beth Tibbitts CLA 2011-08-17 23:03:05 EDT
I manually changed the location to be /home/userB/projnameB

The project appears to be created correctly; the files from the specified directory show up in Project Explorer.

However Project Properties do not include the Remote Development category 
The Resource category does indicate via remotetools://connectionB/userB/projnameB
Comment 2 Greg Watson CLA 2011-08-18 08:46:40 EDT
(In reply to comment #0)
> Create a connection to a remote machine.
> I created a remote project (with Remote Tools) to that machine with userid
> userA.
> Name the project e.g. projnameA
> The default location chooses the correct location, /home/userA/projnameA
> I closed and restarted eclipse.
> 
> Create a connection to the same remote machine with another userid, say userB.
> Name the project e.g. projnameB
> The default location chosen is /home/userA/projnameB
> 
> It has chosen the user name from the original connection, not the new one just
> created

Please provide the *exact* steps to reproduce this problem. I'm not able to repeat with these steps. For example, after creating the second connection, the connection is not open, so a default location will not be shown in the wizard.
Comment 3 Greg Watson CLA 2014-06-09 15:50:08 EDT
Unable to reproduce, but in any case development has shifted to JSch provider and synchronized projects.