Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355021 - [RDT] Two connections with different userids, Remote proj location chooses wrong home dir
Summary: [RDT] Two connections with different userids, Remote proj location chooses wr...
Status: CLOSED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: RDT (show other bugs)
Version: 5.0.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 22:16 EDT by Beth Tibbitts CLA
Modified: 2014-06-09 15:50 EDT (History)
1 user (show)

See Also:


Attachments

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