如何通过FTP与Eclipse RSE同步文件? [英] How to synchronize files over FTP with Eclipse RSE?
问题描述
我复制粘贴内容:
如何安装:
- 点击
帮助>软件更新
-
点击
添加网站
按钮,然后添加网站
对话框弹出。
在对话框中输入
http://eclipse-incub.sourceforge.net/updates -soc / rse-sync /
到位置
字段中,然后按确定
。 p> - 选中刚创建的网站框,然后点击
安装
按钮。 -
窗口>开放视角>远程系统资源管理器
- 在远程系统视图中,单击工具栏中最左侧的图标,然后单击
新建连接
弹出对话框。 - 在对话框中,选择
SSH
作为连接类型,然后单击Next
。 - 填写空格以满足您的环境和
完成
。现在建立ssh连接。 - 右键单击要从RSE导入的任意文件夹,然后单击
导入到项目...(Sync)
弹出菜单。 -
导入向导
弹出。远程文件夹已被选中,但您可以通过单击右上角浏览
按钮进行更改。 - 您需要选择目标本地项目导入。在
Into文件夹
字段中输入目标项目名称,或者使用浏览
按钮选择。
目标项目必须存在于本地。 -
检查操作。
查看/同步
:手动导入。您可以在Team Synchronize Perspective中导入自己想要的资源。
无警告地覆盖现有资源
:目前该选项被忽略。始终没有警告。
保存设置..
:保存重新同步的设置。如果选中此框,则需要确定在本地工作区中保存设置文件的位置。
如果没有此设置文件,重新同步无法运行。设置文件的扩展名为
rimpfd
。 -
单击完成。 >
除非您选中
查看/同步
框,否则自动完成导入操作。
否则,您被要求将视角切换到Team Synchronize。
5-a。在团队同步视图中,您可以看到所选的标记资源。您可以获取导入资源。
- 右键单击要在RSE中导出的任意文件夹,然后单击
从项目导出...(同步)
弹出菜单。 - 弹出
导出向导
。远程文件夹已被选中,但您可以通过单击浏览
按钮进行更改。 - 您需要选择要导出的资源。 li>
-
检查操作。
查看/同步
:手动导出。您可以在Team Synchronize Perspective中导出自己想要的资源。
无警告地覆盖现有资源
:目前该选项被忽略。始终没有警告。
保存设置..
:保存重新同步的设置。如果选中此框,则需要确定在本地工作区中保存设置文件的位置。
如果没有此设置文件,则重新同步无法运行。设置文件是
rexpfd
-
单击完成。
除非您选中
查看/同步
框,否则导出操作将自动完成。
否则,您被要求将视角切换到Team Synchronize。
5-a。在团队同步视图中,您可以看到所选的标记资源。您可以输入导出资源。
-
右键单击扩展名为
rimpfd
或rexpfd
在包资源管理器中。
1-a:如果您选择
rimpfd
,单击从远程文件系统导入(同步)
1-b:如果选择
rexpfd
,点击导出到远程文件系统(同步)
- 然后,您被要求将视角切换到Team Synchronize,与手动初始同步相同。
- 在Team Synchronize视图中,您可以获取远程更改或将本地更改。
- Click
Help > Software Updates
Click
Add Site
button, thenAdd Site
dialog pops up.In the dialog, input
http://eclipse-incub.sourceforge.net/updates-soc/rse-sync/
into theLocation
field and pressOK
.- Check the box of the site you just created and click
Install
button. Window > Open Perspective > Remote System Explorer
- In Remote Systems view, click the leftmost icon in the tool bar and
New Connection
dialog pops up. - In the dialog, select the
SSH Only
as a connection type and clickNext
. - Fill the blanks to meet your environment and
Finish
. Now ssh connection is created. - Right-click the arbitrary folder you want to import from in RSE and click
Import To Project...(Sync)
on the pop-up menu. - The
Import Wizard
pops up. The remote folder is already selected but you can change by clicking top-rightBrowse
button. - You need to select the destination local project to import. Input the destination project name in the
Into folder
field or select with theBrowse
button. The destination project must exist in local side. 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
.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.
- Right-click the arbitrary folder you want to export to in RSE and click
Export From Project...(Sync)
on the pop-up menu. - The
Export Wizard
pops up. The remote folder is already selected but you can change by clickingBrowse
button. - You need to select the resources to export.
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
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.
Right-click the setting file which has extension of
rimpfd
orrexpfd
in Package Explorer.1-a: If you select
rimpfd
, click theImport from Remote File System (Sync)
1-b: If you select
rexpfd
, click theExport to Remote File System (Sync)
- Then you are asked to switch perspective to Team Synchronize as the same to manually initial synchronization.
- In the Team Synchronize view, you can "Get" the remote change or "Put" the local change.
如何运行准备工作:
有必要在RSE中创建与远程主机的连接如果您还没有在RSE中连接ssh。
初始同步:
对于初始同步,您可以从远程资源导入到本地项目,或者从本地项目导出到远程文件夹。
<<导入:>>
< Export:>>
重新同步:
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:
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.
Initial synchronize:
For initial synchronize, you can "import" from remote resource to local project or "export" from local project to remote folder.
<<Import:>>
<<Export:>>
Re-Synchronize:
这篇关于如何通过FTP与Eclipse RSE同步文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!