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 #53851] Tue, 13 May 2003 13:01 Go to next message
Eclipse UserFriend
Originally posted by: dlipp.gmx.net

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

Dan
Re: CVS keyword substitution within eclipse [message #53877 is a reply to message #53851] Tue, 13 May 2003 15:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.news.gmx.net

To me it looks like you found a bug. Go to
https://bugs.eclipse.org/bugs/enter_bug.cgi and file it against Platform /
VCM if it's not
present already.

robert

"Daniel Lipp" <dlipp@gmx.net> schrieb im Newsbeitrag
news:b9qqal$odf$1@rogue.oti.com...
> 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
>
> Dan
>
>
Re: CVS keyword substitution within eclipse [message #54365 is a reply to message #53877] Wed, 21 May 2003 14:37 Go to previous message
Daniel Lipp is currently offline Daniel LippFriend
Messages: 3
Registered: July 2009
Junior Member
You\'re right Robert,

it\'s now registerd as follows:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=37751

Unfortunately there\'s only one vote up to know and nobody said a word
about whether how or when it will be fixed.

I\'m still astonished that nobody found out or complaint about it before.
For us this is rather a critical issue.

Regards

Dan
Re: CVS keyword substitution within eclipse [message #593614 is a reply to message #53851] Tue, 13 May 2003 15:20 Go to previous message
Robert Klemme is currently offline Robert KlemmeFriend
Messages: 14
Registered: July 2009
Junior Member
To me it looks like you found a bug. Go to
https://bugs.eclipse.org/bugs/enter_bug.cgi and file it against Platform /
VCM if it's not
present already.

robert

"Daniel Lipp" <dlipp@gmx.net> schrieb im Newsbeitrag
news:b9qqal$odf$1@rogue.oti.com...
> 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
>
> Dan
>
>
Re: CVS keyword substitution within eclipse [message #593878 is a reply to message #53877] Wed, 21 May 2003 14:37 Go to previous message
Daniel Lipp is currently offline Daniel LippFriend
Messages: 3
Registered: July 2009
Junior Member
You\'re right Robert,

it\'s now registerd as follows:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=37751

Unfortunately there\'s only one vote up to know and nobody said a word
about whether how or when it will be fixed.

I\'m still astonished that nobody found out or complaint about it before.
For us this is rather a critical issue.

Regards

Dan
Previous Topic:Remove a plug-in
Next Topic:Package Explorer font size
Goto Forum:
  


Current Time: Fri Apr 26 02:19:20 GMT 2024

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

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

Back to the top