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.

15.4.2 Copy (commit) the project to the repository<br />

So far you only have a place holder in the CVS repository for the project. Other<br />

users will be able to see the project in the repository but there are no resources<br />

in it. To make the resources available for sharing, you must commit the project,<br />

which will result in the resources being copied to the CVS repository. The<br />

resources will be placed in the HEAD branch only. No version is created.<br />

Note: Committing a project or a resource causes it to be copied from your<br />

workspace to the branch in the repository. A resource must be initially<br />

committed as a part of a project commit before it can be committed<br />

individually.<br />

Each time you commit a resource a new revision tag is associated with it.<br />

Note: When you initially commit a Web project, a revision tag is associated<br />

with each resource in the project because each resource is new to the<br />

repository. This initial revision tag is 1.1.<br />

Each time you commit a resource the revision tag is changed to the next level<br />

(1.2, 1.3, etc.). If you commit at the Web project level, only changed resources<br />

get a new revision tag, and that revision tag will be the next number in the<br />

sequence for that resource.<br />

In Figure 15-4 on page 523, you see the Synchronize view with the project<br />

showing in the Outgoing Mode view. To commit you do the following:<br />

1. Switch to the Outgoing Mode view in the Synchronize view, select the project<br />

at the top, right-click, and select Commit.<br />

Or select the project in the Project Navigator view, right-click the Web project,<br />

and select Team -> Commit.<br />

524 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

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

Saved successfully!

Ooh no, something went wrong!