blob: 236e52e9231be2d251fa03a8da2fed31bd220af4 [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 lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Setting CVS repository defaults" />
<meta content="build output folders, ignoring in CVS, CVS, setting repository defaults, cvsignore files, creating, repositories, default CVS settings" name="DC.subject" />
<meta content="build output folders, ignoring in CVS, CVS, setting repository defaults, cvsignore files, creating, repositories, default CVS settings" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="twcvsr" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Setting CVS repository defaults</title>
</head>
<body id="twcvsr"><a name="twcvsr"><!-- --></a>
<h1 class="topictitle1">Setting CVS repository defaults</h1>
<div>
<div class="section"> <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="stepexpand"><span>Create a file called .cvsignore in your project's <span class="filepath">WebContent/WEB-INF</span> folder.</span>
</li>
<li class="stepexpand"><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="stepexpand"><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>
</body>
</html>