29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tip: You can see existing branch names for a project by viewing the CVS<br />

resource history for a resource in the project. See 15.8, “Viewing resource<br />

history” on page 542.<br />

In the CVS Repositories view, expand Branches and observe that it now<br />

contains the new branch.<br />

To begin working with a project in the new branch, you will need to do one of two<br />

things:<br />

► If you do not already have the project in your workbench, choose the project<br />

under the new branch and select Check Out As Project from the context<br />

menu. Switch to the Web perspective and you will see the new project.<br />

► If you do have the project in your workspace and want to associate it with the<br />

new branch:<br />

a. Switch to the Web perspective and select the project in the Project<br />

Navigator view. From the context menu, select Team -> Branch.<br />

b. Enter the new branch name. If you need a reminder of the branch names,<br />

click Details. Click OK.<br />

If the above operation does not result in the discovery of any tags, it is probable<br />

that the folder in the repository does not have a .project file in it. The .project file<br />

is the default file used by the tag discovery process. The file can be changed for<br />

individual projects using Configure Branches and Versions.<br />

To discover existing branch and version tags for a single project folder:<br />

1. Switch to the CVS Repository Exploring perspective or add the CVS<br />

Repositories view to the current perspective.<br />

2. In the CVS Repositories view, expand the repository location.<br />

3. Expand HEAD and select the root folder whose tags are to be discovered.<br />

4. From the pop-up menu for the CVS Repositories view, select Configure<br />

Branches and Versions. The Tag Configuration dialog will open.<br />

5. In the top pane on the left (titled Browse files for tags), expand one or more<br />

projects to find a file that is known to have tags that should be added to the<br />

CVS Repositories view.<br />

6. Select a file in the top left pane. If the file selected has tags defined on it, they<br />

will be displayed in the right top pane (titled New tags found in selected files).<br />

7. Select or deselect the tags in the right pane as desired.<br />

8. Click Add Checked Tags to add the checked tags to the list of remembered<br />

tags.<br />

540 <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!