Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » CVS keyword substitution within eclipse
CVS keyword substitution within eclipse [message #593591] Tue, 13 May 2003 13:01
Daniel Lipp is currently offline Daniel LippFriend
Messages: 3
Registered: July 2009
Junior Member
Hi all,

when trying to use the cvs keyword substitution within eclipse I
experience serious problems: for me it looks like the problem is the way
eclipse behaves when replacing i.e. a labeled version of a certain project
with the "head" content and vice versa.

Here's what I do:

- Add a keyword substitution tag to any file in a project under cvs
version control: i.e. $Name$
- tell eclipse what keyword substition mode to use for this ASCII resource
(i.e. -kkv).
- commit the above file to cvs what will create a new revision.
- label the whole project
- choose to replace the loaded project with this new labeled version

-> the $Name$ tag should now be extended (or replaced) by the tag name.

As far as I found out, this will only work properly when you delete the
whole project and then directly load the revision from the repository!!!

As long as you just select to replace the head contents with the labeled
version content and vice versa it seams like the eclipse cvs client checks
what revision of the file is needed, finds out that it is the same in both
cases and so will do nothing. So you'll easily get a situation where
you've loaded the file from head but the $Name$ tag gets expanded to
$Name: myTag$ or you've loaded the tag: myTag but in the file you'll only
get $Name: $ (as if you were in the head).

I did not find any bug report or comments on this issues so I wonder how
you guys can handle the keyword substitution (other than not using it at
all ;-)).

Any help appreciated

Previous Topic:Is Eclipse 2.1.1 a "real" release or not?
Next Topic:JAXB
Goto Forum:

Current Time: Thu Apr 25 12:26:02 GMT 2024

Powered by FUDForum. Page generated in 0.02865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top