blob: eb5693c83d7529270ae38ff2cb1fa7fd28db0b68 [file] [log] [blame]
<!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>Checking out a folder into an existing project</title>
<meta name="keyword" content="team">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Checking out a folder into an existing project</H1>
<P>To check out a folder from a CVS repository into an existing project in the
Workbench, you can use either the <strong>Checkout</strong> wizard or <strong>Check
Out As</strong> from the CVS Repositories view. Follow these steps to use the
Checkout wizard.</P>
<ol>
<li>Launch the <a href="../reference/ref-40a.htm">CVS Checkout wizard</a>.</li>
<li>Select the desired repository from the list of known repositories or, if
the desired repository is not in this list, choose to create a new repository
location and click <b>Next</b>. If entering a new repository location, enter
the repository information and click <b>Next</b> when completed.</li>
<li>Either select one or more modules from the list of existing modules or type
in the name of the module to be checked out and click <strong>Next</strong>.</li>
<li>Choose whether to check out one or more selected modules into an existing
project or folder. you can provide the following information:
<ol>
<li><strong>Target folder name</strong>: (only when checking out a single
module) The name of a local folder in which the contents of the remote
folder will be placed. <em>Note</em>: If the local folder exists, its
contents will be deleted and replaced by the contents of the remote folder.</li>
<li><strong>Parent of target folder</strong>: The existing local folder
into which the target folders will be created.</li>
<li><strong>Checkout sub-folders</strong>: The option to indicate whether
the sub-folders of the remote folder should be checked out as children
of the target folder.</li>
</ol>
</li>
<li>(Optional) Select the tag to check out from and click <strong>Finish</strong>.</li>
</ol>
<p><em>Note:</em> Only folders within non-shared projects or projects shared with
the same CVS repository as the selected remote folder are valid targets for
the <em>Checkout Into</em> operation. Also, if the target project of the operation
is an unshared project, the project will be connected to the CVS repository
(i.e. the project will become a shared CVS project) but any pre-existing content
will be ignored.</p>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="../concepts/concepts-26.htm">Team programming with CVS</a><br>
<a href="../concepts/concepts-27c.htm">CVS Repositories</a>
</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="tasks-96.htm">Checking out a project from a CVS repository</a><br>
<a href="tasks-96a.htm">Checking out a module from a CVS repository</a><br>
<a href="tasks-92.htm">Creating a CVS repository location</a><br>
<a href="tasks-103.htm">Replacing resources in the Workbench</a><br>
<a href="tasks-110.htm">Discovering branch and version tags</a><br>
<a href="tasks-117.htm">Sharing a new project using CVS</a><br>
<a href="tasks-115.htm">Synchronizing with the repository</a>
</p>
<p><img border="0" src="../images/ngrelr.png" alt="Related references" ><br>
<a href="../reference/ref-47.htm">CVS</a><br>
<a href="../reference/ref-32.htm">CVS Repositories view</a><br>
<a href="../reference/ref-40a.htm">CVS Checkout wizard</a></p>
</BODY>
</HTML>