Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes Remove files from CVS source control 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 "Remove files from CVS source control" Watch "Remove files from CVS source control" New topic
Author

Remove files from CVS source control

Jay Damon
Ranch Hand

Joined: Jul 31, 2001
Posts: 282
Is there a way to remove files from source control in Rational/Eclipse? I have some .class files that were inadvertantly checked in and I would like to remove them from source control but I do not see any option to do so. Is there such an option in Rational/Eclipse or perhaps a CVS utility? I really don't want to do this from a command-line.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957
    
  19

CVS, like a good bookkeeping system preserves everything you commit - mistakes and all. People have been known to use brute force to remove stuff from the archives, but it's not something I'd recommend.

In an eclipse project, delete the class files, then commit the emptied directory. This should cause CVS to move the files into the Attic.

One of the reasons why Subversion was invented, by the way, is because there's no honest way in CVS to delete an empty directory.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: Remove files from CVS source control
 
Similar Threads
eclipse cvs filter
Version control in eclipse indigo
How to find the location of Repository of my project?
Eclipse CVS help
Exclipse and CVS