Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "HOWTO: Shared Code Plugin"
(→Step 4) |
(→Step 4) |
||
Line 43: | Line 43: | ||
===Step 4=== | ===Step 4=== | ||
'''Searching for Java files on Itacare''' | '''Searching for Java files on Itacare''' | ||
− | + | * Click on Eclipse search [[Image:eclipseSearch.png]] in the Trancoso instance | |
− | + | * Type yours criterias | |
[[Image:searchPageTrancoso.png]] | [[Image:searchPageTrancoso.png]] | ||
− | + | * SCP will search for Java files in the Itacare instance. | |
[[Image:instanceItacare.png]] | [[Image:instanceItacare.png]] | ||
− | + | * If it matches on the search term, it sends the match to Trancoso instance and shows the result in the Share Code view. | |
[[Image:shareCodeView.png]] | [[Image:shareCodeView.png]] |
Revision as of 15:25, 7 July 2006
Contents
Installation and Running of the SCP
This is a description of how to install and run the Shared Code plug'in. It should guide you to having a working SCP demo in minutes.
Steps
Step 0
Prerequisites:
- Eclipse 3.1 or higher
- ECF 0.8 or higher
After installing Eclipse and ECF, verify that they are all available in your Eclipse environment.
Step 1
Starting ECF Local Server.
- Start a shell.
- CD to the Eclipse features directory.
- CD to org.eclipse.ecf.serverfeature_X.X.X\bin directory (X.X.X is the ecf version number).
- Run startserver.sh for OS X/Linux
- The default settings are fine for now.
Step 2
- For this demo, it's necessary to use two or more Eclipse instances. I will use only two Eclipse instance(Itacare and Trancoso).
- Make sure to use different workspaces, because this demo is on the same machine.
- Click on the Run->Run, change the launcher name to "Itacare"
- Click on the Run->Run, change the launcher name to "Trancoso"
- Adjust workspace data as necessary. You need to setup different "Location" to each Eclipse instance, and each instance needs to point to the same ECF server.
Step 3
Connect SCP to ECF Local Server
- In the Trancoso launched workbench, click on the in toolbar
- After this actions, you are able to search for remote source code.
Step 4
Searching for Java files on Itacare
- SCP will search for Java files in the Itacare instance.
- If it matches on the search term, it sends the match to Trancoso instance and shows the result in the Share Code view.