blob: 587aa1f97843090a25d7683e2e2f22e8b1eca5ea [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" />
<title>Setting CVS repository defaults</title>
<script language="JavaScript">
function popup_window( url, id, width, height )
{
popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' );
popup.focus();
}
</script><script language="JavaScript" src="help/liveHelp.js"></script></head>
<body id="twcvsr"><a name="twcvsr"><!-- --></a>
<h1 class="topictitle1">Setting CVS repository defaults</h1>
<div><div class="skipspace"> <p>When you use a CVS repository during team development, you might
want to use the following setup to ensure that the CVS versioning
support ignores the project's build output folder:</p>
</div>
<ol><li class="skipspace"><span>Create a file called .cvsignore in your project's <span class="filepath">WebContent/WEB-INF</span> folder.</span></li>
<li class="skipspace"><span>In this file, add a line with the name of the build output folder
(for example, <samp class="codeph">classes</samp>).</span> <p>Currently, you have
the option of creating this file automatically (as a feature) when using the
New Dynamic Web Project wizard.</p>
<p>When you synchronize with a CVS team
stream, the output folder will be ignored.</p>
</li>
<li class="skipspace"><span>In addition, you should turn off the <span><span class="uicontrol">Prune empty
directories</span></span> option. Select <span><span class="menucascade"><span class="uicontrol">Windows</span> &gt; <span class="uicontrol">Preferences</span></span></span>, switch to the <span><span class="menucascade"><span class="uicontrol">Team</span> &gt; <span class="uicontrol">CVS</span></span></span> properties
page, and ensure that the <span><span class="uicontrol">Prune empty directories</span></span> check
box is not checked.</span> <p>If this option is enabled and your Web project's
source directory is empty, it will be deleted when the project is added to
your workspace from a CVS repository, causing a Java™ build error.</p>
</li>
</ol>
</div>
<p>
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
</p>
</body>
</html>