Posted By:
Christopher_Koenigsberg
Posted On:
Thursday, January 30, 2003 07:08 AM
Eclipse/WSAD comes with a CVS plug-in, so take a look at the Eclipse source code (http://www.eclipse.org)
There are some annoying things about the Eclipse Java plugin implementation of a CVS client, though:
It won't expand keywords (i.e. "$Id$"). Normally CVS clients WILL expand keywords by default, unless you specifically tell them not to (e.g. because the file is binary). But the Eclipse Java version of CVS assumes that any file could be binary, apparently as a simplifying assumption in the code, so it never expands keywords.
It sometimes makes CVS move some files to the "Attic" (i.e. CVS considers them "deleted"), but then continues to use them and update them!!! so if you try and check out the CVS module (for an Eclipse project) from a non-Eclipse client, you don't get all the files that Eclipse is using!!