File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse CVS Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse CVS Problems" Watch "Eclipse CVS Problems" New topic

Eclipse CVS Problems

Phil Williams

Joined: Mar 24, 2003
Posts: 6
I have installed Eclipse 2.0.2 and had an exiting application that I was working on that was already under CVS control.
When I started up Eclipse I added a new Java project and pointed it to the existing directory. It found the (multiple) src and (one) bin folders automatically. However, it wants to copy over all of the contents of the src folder including the CVS folders! In addition I now get the following errors:
This resource is a duplicate and was not copied to the output folder
for all of the CVS files in the CVS folders in my task list. These are full-blown errors and there is no way that I can remove them.
I did configure the project to use the built-in CVS support and it connects to the repository just fine.
Any ideas how I can setup Eclipse/CVS to ignore these CVS folders and files?
Thanks in advance,
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
I don't know if 2.0.2 is the same, but in 2.1 there's a note in the readme which hints that you should always ensure the CVS plugin is activated before importing or sharing such a project.
Try opening the "CVS Repositories" view first. This should load the CVS plugin even if you don't assoaciate any repositories. Then import your project and Eclipse should automatically recognize and hide all your CVS files.
It worked for me in the same situation!

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Alternatively, somewhere in the compiler settings there should be a field where you can enter "ignored resources". Those won't be copied to the bin folder.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
salamander jack

Joined: Dec 23, 2003
Posts: 2
Can you getEclipse working a local CVS repository. It is officially not supported but somewhere in the documentation, it is said that accessing it like a pserver should work.
Has anyone managed to do it ?
I agree. Here's the link:
subject: Eclipse CVS Problems
It's not a secret anymore!