Sharing your connections, filters, user actions, and compile commands

Before you begin

You can use any Software change management Eclipse-enabled repository from any vendor. The following information describes project-sharing using the Concurrent Versions System (CVS) support that is included with Eclipse. Steps and user interface elements will differ depending on the repository plug-in provider that you have defined or installed.

In a team programming environment, team members will often do work on their own workbench, isolated from others. Eventually they will want to share their work with their teammates. Using the Remote System Explorer, team members can share their connections, filters, and filter pools.

Attention: When you synchronize your RemoteSystemsConnection project with the repository the first time, you will see many files in conflict. This is because it takes one synchronization to properly align the server's encoded version information with your local files. Rest assured that this happens only once. You can just receive all of the incoming changes and your local workspace will then be synchronized with the server. You might also find inactive profiles (that belong to other teammates) in the Team view after you synchronize with the server. You can choose whether or not to activate these profiles in the Team view if you want to see the profile's contents in the Remote System Explorer on your local workstation.

To share your resources:

Procedure

  1. In the Remote Systems view, click the menu button on the Remote Systems toolbar, and select Work with profiles to bring the Team view to the front of the Remote System Explorer. You can also click the Team tab to switch to the view.
  2. In the Team view, expand the root element, RemoteSystemsConnections to see a list of your profiles. The profiles that you have defined, as well as the Team profile, are displayed. The Team profile is created by the Remote System Explorer to use for sharing connections, filter pools, and filters if you do not want to share them in a profile that you create and manage.
  3. Right-click on RemoteSystemsConnections and select Team > Share Project .
  4. Select Use existing repository location if you have already defined a CVS repository. Select Create a new repository location if you need to define a CVS repository (this information should be available from the person who configured the CVS repository on the server). To define a CVS repository:
    1. In the Host field, type the address of the server, for example mymachine.com.
    2. In the Repository path field, type the path to the repository on the server, for example /home/test, d:/test.
    3. In the User field, type the user name to use to connect to the repository.
    4. In the Password field, type the password for the user name.
    5. From the Connection Type list, select the authentication protocol of the CVS server. There are three connection methods that come with the Eclipse CVS client:
      • pserver: A CVS specific connection method.
      • extssh : An SSH 1.0 client included with the workbench.
      • ext: The CVS ext connection method that uses an external tool such as SSH to connect to the repository. The tool used by ext is configured in theTeam > CVS > EXT Connection Method preference page.
    6. If the server uses a custom port, enable Use Port and enter the port number.
    7. Check Save Password if applicable.
  5. Click Finish.

Results

The repository location is created. The RemoteSystemsConnections project will be created remotely and the Synchronize view will open to allow you to commit the project's resources to the server.
Attention: If the project already exists remotely, the Synchronize view will show conflicts on any files that exist both locally and remotely. If the RemoteSystemsConnections project already exists in the repository when you first share it, there might be many conflicts. Generally, these are not actual conflicts, but simply considered conflicts on the first synchronize because there is no local CVS information for the resources in your workspace. If you have not created any resources in your Team profile, you can safely send or receive all of the conflicting files. If you have created resources in your Team profile, you should check each conflicting file to ensure there are no differences, and if there are, resolve them by merging.
To synchronize your resources with those in the associated repository:
  • Right-click on the RemoteSystemsConnection project, and select Team > Synchronize with Repository.
  • After sharing or synchronizing, and receiving incoming resources from the repository, right-click on the RemoteSystemsConnection project, and select Reload Remote System Explorer. This refreshes the Remote System Explorer and Team view to reflect the new or changed resources.

Feedback