| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <title>Committing</title> |
| |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <h3> |
| Committing</h3> |
| <P>Now that the Synchronize view has been described here's how files can be committed |
| to the repository. </P> |
| |
| |
| <ol> |
| <li> |
| <P CLASS="Para"> In the <b>Structure Compare</b> list select file1.txt</P> |
| . |
| <blockquote> |
| <P CLASS="Para"> <img src="../images/Image82_repo_release.png" alt="Structure Compare" border="0" ></P> |
| </blockquote> |
| </li> |
| <li> |
| <P CLASS="Para"> Pop-up the menu and choose <b>Commit</b>. Click <b>OK</b> |
| when asked to add and to supply a commit comment.</P> |
| </li> |
| <li>Observe that file1.txt is no longer in the list. |
| <blockquote> |
| <p><img src="../images/Image82_repo_release2.png" alt="Structure Compare" border="0" ></p> |
| </blockquote> |
| <p>In addition to committing individual resources the project can also be |
| selected and all of the changes in the project can be committed.</p> |
| </li> |
| <li>Select JanesTeamProject. </li> |
| <li>Choose <b>Commit</b> from the project's context menu and type in "my |
| first project" when prompted for a commit comment. |
| <p>Observe that the remaining resources in the project are committed and the |
| structure compare list is now empty. </p> |
| </li> |
| <li>Click on the Resource perspective button in the shortcut bar (at the far |
| left of the window). |
| <blockquote> |
| <blockquote> |
| <p><img src="../images/Image82_repo_res.png" alt="Resource Perspective" border="0" ></p> |
| </blockquote> |
| </blockquote> |
| </li> |
| <li>In the navigator create a third file called file3.txt with the following |
| contents: |
| <blockquote> |
| <p><i>This is the brief contents<br> |
| of file 3.</i></p> |
| </blockquote> |
| </li> |
| <li>Select the project (JanesTeamProject) and choose <b>Team > Synchronize |
| with Repository</b> again from the context menu. |
| <p>When the Synchronize view opens, there is only one change, the new file3.txt.</p> |
| <blockquote> |
| <p><img src="../images/Image82_repo_rel5.png" alt="Outgoing mode" border="0" ></p> |
| </blockquote> |
| </li> |
| <li>Select file3.txt, and choose <b>Commit</b> from the context menu. </li> |
| </ol> |
| |
| |
| |
| </BODY> |
| </HTML> |