如何通过FTP与Eclipse RSE同步文件? [英] How to synchronize files over FTP with Eclipse RSE?

查看:377
本文介绍了如何通过FTP与Eclipse RSE同步文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Helios,它具有最新版本的RSE软件包,我可以从远程服务器复制文件,但我似乎无法使用查看/同步选项。我选择远程目录下的文件夹,指定本地目录的进入文件夹,点击完成,没有任何东西被同步。想法?

解决方案

您在本教程中有解释:

我复制粘贴内容:



如何安装:


  1. 点击帮助>软件更新

  2. 点击添加网站按钮,然后添加网站对话框弹出。



    在对话框中输入 http://eclipse-incub.sourceforge.net/updates -soc / rse-sync / 位置字段中,然后按确定。 p>


  3. 选中刚创建的网站框,然后点击安装按钮。



    1. 如何运行准备工作:



      有必要在RSE中创建与远程主机的连接如果您还没有在RSE中连接ssh。


      1. 窗口>开放视角>远程系统资源管理器

      2. 在远程系统视图中,单击工具栏中最左侧的图标,然后单击新建连接弹出对话框。

      3. 在对话框中,选择 SSH 作为连接类型,然后单击 Next

      4. 填写空格以满足您的环境和完成。现在建立ssh连接。

      初始同步:



      对于初始同步,您可以从远程资源导入到本地项目,或者从本地项目导出到远程文件夹。



      <<导入:>>


      1. 右键单击要从RSE导入的任意文件夹,然后单击导入到项目...(Sync)弹出菜单。

      2. 导入向导弹出。远程文件夹已被选中,但您可以通过单击右上角浏览按钮进行更改。

      3. 您需要选择目标本地项目导入。在 Into文件夹字段中输入目标项目名称,或者使用浏览按钮选择。
        目标项目必须存在于本地。

      4. 检查操作。



        查看/同步:手动导入。您可以在Team Synchronize Perspective中导入自己想要的资源。



        无警告地覆盖现有资源:目前该选项被忽略。始终没有警告。



        保存设置.. :保存重新同步的设置。如果选中此框,则需要确定在本地工作区中保存设置文件的位置。



        如果没有此设置文件,重新同步无法运行。设置文件的扩展名为 rimpfd


      5. 单击完成。 >

        除非您选中查看/同步框,否则自动完成导入操作。



        否则,您被要求将视角切换到Team Synchronize。



        5-a。在团队同步视图中,您可以看到所选的标记资源。您可以获取导入资源。


      < Export:>>


      1. 右键单击要在RSE中导出的任意文件夹,然后单击从项目导出...(同步)弹出菜单。

      2. 弹出导出向导。远程文件夹已被选中,但您可以通过单击浏览按钮进行更改。

      3. 您需要选择要导出的资源。 li>
      4. 检查操作。



        查看/同步:手动导出。您可以在Team Synchronize Perspective中导出自己想要的资源。



        无警告地覆盖现有资源:目前该选项被忽略。始终没有警告。



        保存设置.. :保存重新同步的设置。如果选中此框,则需要确定在本地工作区中保存设置文件的位置。



        如果没有此设置文件,则重新同步无法运行。设置文件是 rexpfd


      5. 单击完成。



        除非您选中查看/同步框,否则导出操作将自动完成。



        否则,您被要求将视角切换到Team Synchronize。



        5-a。在团队同步视图中,您可以看到所选的标记资源。您可以输入导出资源。


      重新同步:


      1. 右键单击扩展名为 rimpfd rexpfd 在包资源管理器中。



        1-a:如果您选择 rimpfd ,单击从远程文件系统导入(同步)



        1-b:如果选择 rexpfd ,点击导出到远程文件系统(同步)


      2. 然后,您被要求将视角切换到Team Synchronize,与手动初始同步相同。

      3. 在Team Synchronize视图中,您可以获取远程更改或将本地更改。


      I installed Helios, which has the latest version of the RSE package, and I could copy files from the remote server just fine, but I don't seem to be able to use the "Review/Synchronize" option. I select the folder on the remote directory, specify the "Into folder" of the local directory, hit Finish, and nothing ever gets synced. Thoughts?

      解决方案

      You have an explication in this tutorial : https://bugs.eclipse.org/bugs/attachment.cgi?id=110113

      I copy-paste the content:

      How to install:

      1. Click Help > Software Updates
      2. Click Add Site button, then Add Site dialog pops up.

        In the dialog, input http://eclipse-incub.sourceforge.net/updates-soc/rse-sync/ into the Location field and press OK.

      3. Check the box of the site you just created and click Install button.

      How to run Preparation:

      It's necessary to create connection with remote host in RSE, if you have not had ssh connection in RSE yet.

      1. Window > Open Perspective > Remote System Explorer
      2. In Remote Systems view, click the leftmost icon in the tool bar and New Connection dialog pops up.
      3. In the dialog, select the SSH Only as a connection type and click Next.
      4. Fill the blanks to meet your environment and Finish. Now ssh connection is created.

      Initial synchronize:

      For initial synchronize, you can "import" from remote resource to local project or "export" from local project to remote folder.

      <<Import:>>

      1. Right-click the arbitrary folder you want to import from in RSE and click Import To Project...(Sync) on the pop-up menu.
      2. The Import Wizard pops up. The remote folder is already selected but you can change by clicking top-right Browse button.
      3. You need to select the destination local project to import. Input the destination project name in the Into folder field or select with the Browse button. The destination project must exist in local side.
      4. Check operations.

        Review/Synchronize: Manual import. You can import resources you want by yourself in Team Synchronize Perspective.

        Overwrite existing resources without warning: Currently this option is ignored. Always no warning.

        Save the settings..: Save the setting for re-synchronization. If check this box, you need to decide where setting file is saved in the local workspace.

        Re-synchronization cannot run without this setting file. The extension of the setting file is rimpfd.

      5. Click Finish.

        Unless you check the box of Review/Synchronize, the import operation done automatically.

        Otherwise, you are asked to switch perspective to Team Synchronize.

        5-a. In Team Synchronize view, you can see the marked resources you selected. You can "Get" to import resources.

      <<Export:>>

      1. Right-click the arbitrary folder you want to export to in RSE and click Export From Project...(Sync) on the pop-up menu.
      2. The Export Wizard pops up. The remote folder is already selected but you can change by clicking Browse button.
      3. You need to select the resources to export.
      4. Check operations.

        Review/Synchronize: Manual export. You can export resources you want by yourself in Team Synchronize Perspective.

        Overwrite existing resources without warning: Currently this option is ignored. Always no warning.

        Save the settings..: Save the setting for re-synchronization. If check this box, you need to decide where setting file is saved in the local workspace.

        Re-synchronization cannot run without this setting file.The extension of the setting file is rexpfd

      5. Click Finish.

        Unless you check the box of Review/Synchronize, the export operation done automatically.

        Otherwise, you are asked to switch perspective to Team Synchronize.

        5-a. In Team Synchronize view, you can see the marked resources you selected. You can "Put" to export resources.

      Re-Synchronize:

      1. Right-click the setting file which has extension of rimpfd or rexpfd in Package Explorer.

        1-a: If you select rimpfd, click the Import from Remote File System (Sync)

        1-b: If you select rexpfd, click the Export to Remote File System (Sync)

      2. Then you are asked to switch perspective to Team Synchronize as the same to manually initial synchronization.
      3. In the Team Synchronize view, you can "Get" the remote change or "Put" the local change.

      这篇关于如何通过FTP与Eclipse RSE同步文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆