Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Web Tools Guide
Previous Page Home Next Page

Setting CVS repository defaults

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:

  1. Create a file called .cvsignore in your project's WebContent/WEB-INF folder.
  2. In this file, add a line with the name of the build output folder (for example, classes).

    Currently, you have the option of creating this file automatically (as a feature) when using the New Dynamic Web Project wizard.

    When you synchronize with a CVS team stream, the output folder will be ignored.

  3. In addition, you should turn off the Prune empty directories option. Select Windows > Preferences , switch to the Team > CVS properties page, and ensure that the Prune empty directories check box is not checked.

    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.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire