問題描述
我安裝了 Helios,它具有最新版本的 RSE 包,我可以很好地從遠程服務器復制文件,但我似乎無法使用審查/同步"選項.我選擇遠程目錄上的文件夾,指定本地目錄的進入文件夾",點擊完成,沒有任何東西被同步.想法?
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?
推薦答案
你在本教程中有一個解釋:https://bugs.eclipse.org/bugs/attachment.cgi?id=110113
You have an explication in this tutorial : https://bugs.eclipse.org/bugs/attachment.cgi?id=110113
我復制粘貼內容:
如何安裝:
- 點擊
幫助>軟件更新
點擊
Add Site
按鈕,彈出Add Site
對話框.
在對話框中,在 Location
字段中輸入 http://eclipse-incub.sourceforge.net/updates-soc/rse-sync/
并按 確定
.
In the dialog, input http://eclipse-incub.sourceforge.net/updates-soc/rse-sync/
into the Location
field and press OK
.
如何運行準備:
如果您還沒有在 RSE 中建立 ssh 連接,則需要在 RSE 中創建與遠程主機的連接.
It's necessary to create connection with remote host in RSE, if you have not had ssh connection in RSE yet.
窗口>開放視角 >遠程系統資源管理器
- 在遠程系統視圖中,點擊工具欄最左邊的圖標,彈出
New Connection
對話框. - 在對話框中,選擇
SSH Only
作為連接類型,然后單擊下一步
. - 根據您的環境填空并
完成
.現在 ssh 連接已創建.
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.
初始同步:
對于初始同步,您可以從遠程資源導入"到本地項目或從本地項目導出"到遠程文件夾.
For initial synchronize, you can "import" from remote resource to local project or "export" from local project to remote folder.
<<導入:>>
<<Import:>>
- 在 RSE 中右鍵單擊要從中導入的任意文件夾,然后在彈出菜單上單擊
Import To Project...(Sync)
. - 彈出
導入向導
.遠程文件夾已被選中,但您可以通過單擊右上角的Browse
按鈕進行更改. - 您需要選擇要導入的目標本地項目.在
Into folder
字段中輸入目標項目名稱或使用Browse
按鈕進行選擇.目標項目必須存在于本地. 檢查操作.
- 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.
查看/同步
:手動導入.您可以在 Team Synchronize Perspective 中自行導入所需的資源.
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.
如果沒有此設置文件,重新同步將無法運行.設置文件的擴展名為rimpfd
.
點擊完成.
除非您選中Review/Synchronize
復選框,否則導入操作會自動完成.
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.在 Team Synchronize 視圖中,您可以看到您選擇的標記資源.您可以獲取"來導入資源.
5-a. In Team Synchronize view, you can see the marked resources you selected. You can "Get" to import resources.
<<導出:>>
<<Export:>>
- 在 RSE 中右鍵單擊要導出到的任意文件夾,然后在彈出菜單中單擊
Export From Project...(Sync)
. 導出向導
彈出.遠程文件夾已被選中,但您可以通過單擊Browse
按鈕進行更改.- 您需要選擇要導出的資源.
檢查操作.
- 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.
查看/同步
:手動導出.您可以在 Team Synchronize Perspective 中自己導出所需的資源.
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.
沒有這個設置文件就無法重新同步.設置文件的擴展名為rexpfd
點擊完成.
除非您選中Review/Synchronize
復選框,否則導出操作會自動完成.
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.在 Team Synchronize 視圖中,您可以看到您選擇的標記資源.您可以Put"導出資源.
5-a. In Team Synchronize view, you can see the marked resources you selected. You can "Put" to export resources.
重新同步:
在Package Explorer中右鍵單擊擴展名為
rimpfd
或rexpfd
的設置文件.
1-a:如果選擇rimpfd
,點擊Import from Remote File System (Sync)
1-a: If you select rimpfd
, click the Import from Remote File System (Sync)
1-b:如果選擇rexpfd
,點擊Export to Remote File System (Sync)
1-b: If you select rexpfd
, click the Export to Remote File System (Sync)
這篇關于如何通過 FTP 與 Eclipse RSE 同步文件?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!