This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Remove files from CVS source control  RSS feed

Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Posts: 19735
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!