This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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

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: 16661

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.
I agree. Here's the link:
subject: Remove files from CVS source control