Gavrisimo
Gavrisimo

Reputation: 1837

Can I access remote files on a different OS from Eclipse?

I remember i could remotely open files that are on my server via Notepad++. Can I do that with Eclipse so that I can edit files on my computer and when I save it saves on that file directly on the server.

I am using Windows 7 and my server is CentOS (I think).

Upvotes: 2

Views: 2750

Answers (2)

Wayne Beaton
Wayne Beaton

Reputation: 306

The Remote Systems Explorer lets you do this. Open "Help > Install new software...", select the "Galileo Update Site", find the Remote Systems Explorer and install it.

Once you've got it installed, open the "Remote Systems" view and add a connection to your favourite server. I use it all the time; works like a charm.

Upvotes: 4

Rich Seller
Rich Seller

Reputation: 84038

Eclipse normally needs files to be in a project, but if you are able to map the network drive, you can add the remote folder into a project as a linked resource, then it can be modified as if it is on the local machine (except for additional latency).

To maintain portability, you can specify a path variable for the remote file system and define a relative path from that variable. See this answer for details of setting up linked resources.

If mapping the drive is not an option, there is the Remote System Explorer architecture. I've not used it myself so I can't say how well it works, but this blog describes how to use RSE to browse remote files.

Upvotes: 1

Related Questions