Upload file on every save with Rsync

后端 未结 2 1152
渐次进展
渐次进展 2021-01-21 07:51

Im using Eclipse PDT(Ubuntu 10.10) for web development and successfully uploading changed files with Rsync manually.

~$ rsync -e ssh -av /home/goksel/Sites/test          


        
相关标签:
2条回答
  • 2021-01-21 08:06

    There are 2 options available. If you right-click on the project you can add an external builder, which can be an ant file or a program. That will run on every file change.

    The second option is to use something like Remote System Explorer from Target Management: http://www.eclipse.org/tm/ A lot of users use this when working on projects (like PHP) that they want synced up to a remote system.

    0 讨论(0)
  • 2021-01-21 08:20

    The problem with using RSE is that it conflicts with other Team connections such as subversion. RSE was also very slow and worked in batches (just like sending a SVN changeset to the SVN server).

    0 讨论(0)
提交回复
热议问题