• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Remove files from CVS source control

 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic