File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse support for cvs -f checkout 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 "Eclipse support for cvs -f checkout" Watch "Eclipse support for cvs -f checkout" New topic

Eclipse support for cvs -f checkout

Dave Boden
Ranch Hand

Joined: Nov 08, 2000
Posts: 37
I need to checkout a branch in Eclipse but need to use the -f option so that for any files that aren't branched it fetches the HEAD revision.

I can't see anywhere in Eclipse to configure the checkout of a branch with the user of a -f tag.

Here's what "man cvs" says about the -f option:


When you specify a particular date or tag to cvs commands, they nor-
mally ignore files that do not contain the tag (or did not exist
prior to the date) that you specified. Use the -f option if you want
files retrieved even when there is no match for the tag or date.
(The most recent revision of the file will be used).

Note that even with -f, a tag that you specify must exist (that is,
in some file, not necessary in every file). This is so that cvs will
continue to give an error if you mistype a tag name.

So, any ideas if there's some way that I can pass additional parameters to CVS or configure for this scenario somewhere in the Eclipse options?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

Eclipse is actually smarter than the standard CVS clients, so you may not have to do anything special at all. If you're attempting to do something unusual but supported by CVS, go to the CVS view and check out the menus and see if any of them sound like what you want.

The Eclipse help viewer might be a good explainer for details about these features.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Eclipse support for cvs -f checkout
jQuery in Action, 3rd edition