- 在local端能使用eclipse開發的同時,能直接就放上Server端,直接在Server端compiler或使用
安裝(參考https://bugs.eclipse.org/bugs/attachment.cgi?id=110113):
- 打開Eclipse
- 按Help -> "Software Updates"
- 按"Add Site,然後打入http://eclipse-incub.sourceforge.net/updates-soc/rse-sync/,再按ok
- 按install
- 先import或create proejct
- 轉移到Remote System Explorer view
- New Connection 選 ssh only
- 填入host name、connection name(帳號),必要時寫description,按Finish
- 登入後,找到project要放置的目錄按右鍵,選Export From project
- 點選要export的project,勾選"Save the settings of this export in the workspace",寫入個檔案名字,按Finish
- 轉到Team Synchronizing,將要上傳的檔案都put all,等待上傳完即可
之後就直接對著存好的rexpfd檔按右鍵,選"Open Remote file Exporter",再按finish就自動同步,之後改什麼檔案就再自行put即可,會只列出不一樣的檔案
缺點是每次開Ecplise都得重新同步,有時還蠻久的
參考網址:
How to synchronize files over FTP with Eclipse RSE?
https://bugs.eclipse.org/bugs/attachment.cgi?id=110113
http://www.chrisdanford.com/blog/2010/05/19/edit-files-directly-over-sftp-in-eclipse-remote-system-explorer/
Eclipse with Aptana plugin and SFTP support, a free website editor
沒有留言:
張貼留言