29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

d. Create a version of the application to act as a stable copy that developers<br />

can use as a starting point.<br />

2. The team members connect to the repository and add the version to their<br />

workspaces.<br />

3. As resources are created and modified, the team members synchronize with<br />

the repository. Synchronization steps are:<br />

a. Update from the repository to accept incoming changes from other<br />

developers.<br />

b. Resolve conflicts when the work of two developers hits the same resource.<br />

c. Commit the new resolved code to the repository.<br />

4. When the application reaches a stable level or one that you want to preserve,<br />

version the project.<br />

15.3 Connecting to a repository<br />

To begin working in a team environment you need to connect to the repository<br />

the team will be using. The primary interface for the team environment is from the<br />

CVS Repository Exploring perspective.<br />

1. Open the perspective by selecting Window -> Open Perspective -> CVS<br />

Repository Exploring.<br />

2. With the cursor in the Repositories view, right-click and select New -><br />

Repository Location from the context menu.<br />

3. Enter the information needed to connect to the repository.<br />

a. In the Host Name field, type the host address of the CVS server machine.<br />

If the CVS server is on the same machine, use localhost.<br />

b. In the Repository Path field, type the path to the repository on the host.<br />

c. In the Authentication section enter the user ID and password to use to<br />

connect to the repository. This user must have access to files in the<br />

repository directory.<br />

Note: Until we added this user ID to the Administrators group on the<br />

CVS server we had problems using CVS. It was not enough to give the<br />

CVS user access to the repository.<br />

Chapter 15. Development in a team environment 519

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!