Editing and backing up Eclipse Remote files (SFTP)

Which solution is best suited for working with remote files via SFTP in Eclipse and for receiving backup files (deleted) with each save?

I installed RSE, but I think that it will not create backup files.

Thanks: -)

+4
source share
4 answers

If you think of backup files as files similar to editors like vi (file name ~ or so), then the simple answer is that Eclipse does not create these backup files (neither locally nor deleted)

If you are thinking of a “local history” that is stored by the eclipse, which is stored in your workspace (in the metadata directory) and therefore always local. I do not know if ECF can be used for a remote workspace, but I doubt it.

0
source

I used eclipse with RSE to edit php scripts from an FTP server with very poor results, RSE very often lost its connection to the server. Then I tried Aptana Estudio (http://www.aptana.com/), an eclipse-based IDE, and it works great. I can edit php and javascript code with a very good shutdown helper. Its remote file browser works fine. I don’t know if he has the ability to back up deleted files, but why not give it a try?

0
source

I use ant to synchronize my workspace with a web server via sftp. I configured the ant construct to perform the following tasks:

  • Synchronize workspace with local temp folder
  • Create zip folder temp
  • Send sftp mailbox to server
  • Call custom unzip php script on server

The hole process takes only a few seconds, even if you are on a not-so-fast network. Because you send only one small compressed zip file.

0
source

I was in the same situation as you. I use eclipse and work on a remote server.

The best solution I've found is to use rsync. rsync is an amazing linux utility for synchronizing remote folders. It uses an algorithm that makes the whole process very fast.

You can configure a custom constructor in your project, which runs rsync every time your project is created (this can happen every time you save).

http://kb.zend.com/index.php?View=entry&EntryID=414

0
source

All Articles