Treats two different files as the same [message #852493] |
Sun, 22 April 2012 03:32 |
N A Messages: 2 Registered: April 2012 |
Junior Member |
|
|
Hi,
I have two remote server setups. They both connect to the same server, but are created with different usernames. The path structure of both user's filesystems looks identical; one login is for a dev environment and the other login is for a prod environment.
The problem I have is that if I open the a file under one user's filesystem, then open it's equivalent under the other user's filesystem, Eclipse/RSE thinks it's the same file and only show me one window with a * to indicate that the contents are different.
For example:
- login to example.com with username user1, open file /home/myfiles/foo.txt
This opens fine. While this file is still open:
- login to example.com with username user2, open file /home/myfiles/foo.txt
This is a different file than before, since the filesystem seen on this server differ for each user. But trying to open this foo.txt causes it to open in the same window as the other foo.txt, and a * appears near the filename as if I had made changes to it.
Any ideas on what I can do to fix this?
thanks very much for any suggestions,
|
|
|
Re: Treats two different files as the same [message #856098 is a reply to message #852493] |
Wed, 25 April 2012 11:17 |
David McKnight Messages: 244 Registered: July 2009 |
Senior Member |
|
|
Hi,
Right RSE uses the same temp file location for the same file on the same
host regardless of which connection gets used. One way you might work
around this is by having one RSE connection use the hostname while the other
uses the IP address for it's hostname field. Another approach could be to
create each of these connections under different RSE profiles.
I hope that helps,
Dave
"N A" <forums-noreply@xxxxxxxx> wrote in message
news:jmvu3j$gf6$1@xxxxxxxxe.org...
> Hi,
>
> I have two remote server setups. They both connect to the same server,
> but are created with different usernames. The path structure of both
> user's filesystems looks identical; one login is for a dev environment and
> the other login is for a prod environment.
>
> The problem I have is that if I open the a file under one user's
> filesystem, then open it's equivalent under the other user's filesystem,
> Eclipse/RSE thinks it's the same file and only show me one window with a *
> to indicate that the contents are different.
>
> For example:
>
> - login to example.com with username user1, open file
> /home/myfiles/foo.txt
>
> This opens fine. While this file is still open:
>
> - login to example.com with username user2, open file
> /home/myfiles/foo.txt
>
> This is a different file than before, since the filesystem seen on this
> server differ for each user. But trying to open this foo.txt causes it to
> open in the same window as the other foo.txt, and a * appears near the
> filename as if I had made changes to it.
>
> Any ideas on what I can do to fix this?
> thanks very much for any suggestions,
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03204 seconds