Win a copy of Microservices in Action this week in the Web Services 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 ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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: 19997
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!