Now that both Lauren and Jason have identical workspaces, we can setup Sangam.
- In order to begin, one partner needs to setup the Syncshare Server. The Syncshare Server hosts the connection between the two programmers. Jason should go to
Window > Preferences (or Rational Team Concert > Preferences on Mac) and select Syncshare Preferences in the left pane.
- Jason should select the Data Directory. The Data Directory is where the information about the Syncshare Server will automatically be stored. Jason should click the
Browse button next to Data Directory and select a directory.
- Jason should now select a password for the Syncshare Server. Enter the password and press
Set.
- Jason should press the
Start Server button.
- Now Jason needs to create a board, which is a group of users. Upon the driver making a change to a file, the driver's Sangam plugin will send a message to the Syncshare Server, which will send the same message to every user in the board. In the Boards frame, enter a name in the Board Name field, enter a password in the Password field, enter the same password in the Re-enter Password filed, and click
Add.
- Now Jason needs to create a user for himself on the board. Select the board you just created in the Boards frame so that it is highlighted. In the Users frame, Jason should enter Jason in the User Name field, enter a password for himself in the Password Field, enter the same password in the Re-enter Password field, and press
Add.
- Jason also needs to create a user for Lauren. Be sure the board is still highlighted in the Boards frame. In the Users frame, enter Lauren in the User Name field, enter a password for her in the Password Field, enter the same password for her in the Re-enter Password field, and press
Add. Jason should tell Lauren her password.
- Jason's screen should look similar to Figure 6. Press
OK.

Figure 6. Setting Up the Synchshare Server
- Jason should locate his IP Address. If you are a Windows user, open Command Prompt and enter ipconfig. If you are a Mac user, open System Preferences > Network. Open the TCP/IP tab and your IP Address should be displayed.
- Now both Lauren and Jason need to input their board login information. Lauren and Jason should go to
Window > Preferences (or Rational Team Concert > Preferences on Mac) and select Sangam Preferences. Next to Server Path, enter Jason 's IP Address. Next to Board Name, enter the name of the board Jason created. Enter the User Names and associated Passwords Jason created. Press Test. If your connection was successful, you will see Connection was successful as shown in Figure 7. If not, be sure you have entered Jason's correct IP Address, Jason's server is still running, and the user names and passwords are correct. Press OK.

Figure 7. A Successful Connection to the Syncshare Server
- Finally, both Lauren and Jason need to associate Java Files with Sangam. Go to
Window > Preferences (or Rational Team Concert > Preferences on Mac). In the left pane, open General > Editors > File Associations. In the File Types box, select *.java. In the Associated editors box, select Sangam Editor as shown in Figure 8. Press the Default button. Select OK.

Figure 8. Associating Java Files with the Sangam Editor
- If you cannot see the Sangam icons in your editor as shown in Figure 9, you'll need to change your preferences. Go to
Window > Customize Perspective and open the Commands tab. In the Available command groups box, check the box next to Sangam Command Actions as shown in Figure 10. Press OK.

Figure 9. Displaying Sangam Icons
|