Requirement
* Eclipse 3.4.0
I develope and test in Eclipse 3.4.0, and please use it.
You can find Eclipse 3.4.0 in the page (
http://www.eclipse.org/downloads/).
* Target Management (RSE) 3.0 pluginle
My project use TM (RSE) 3.0. You need to get the plugin.
You can install the TM 3.0 plugin from
"update site" (
http://download.eclipse.org/dsdp/tm/updates/3.0/)
or
"zip" (
http://download.eclipse.org/dsdp/tm/...-200806202130/)
For more detail about RSE, please visit
http://www.eclipse.org/dsdp/tm/
* SSH
SSH connection with remote host is necessary for my prject. Please have ssh server.
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 syncrhonize, you can "import" from remote resource to local project or "export" from local project to remote folder.
<<Import>>
1. Right-click the arbitary 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 opetions.
"Review/Syncrhonzie": 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 settigns..": 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 arbitary 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 opetions.
"Review/Syncrhonzie": 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 settigns..": 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.
Known Bugs
* With initial import, the synchronize states in re-synchronization operation are wrong.
* On re-export files are shown as "modified" even if they are not.
* In manual import, "Put" is selectable, although do nothing.
* In manual export, "Get" is selectable, although do nothing.
* In Wizard, when "Synchronize" checkbox is checked, other opetions are not relevant any more but selectable.
Partager