[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $Name$ Keyword does not expand

From: Rex_Jolliff
Subject: Re: $Name$ Keyword does not expand
Date: Wed, 25 Apr 2001 09:20:53 -0700

Try using the 'export' command.  The idea, I think,  is that with a checkout you
might be temped
to modify the code thus invalidating the Name keyword, whereas with an export it
is explicit that
you should not furthur modify the code.


Markus Grunwald <address@hidden> on 04/25/2001 12:57:52 AM

 To:       address@hidden                                   
 cc:       (bcc: Rex Jolliff/YM/RWDOE)                        
 Subject:  $Name$ Keyword does not expand                     

                                            Federal Record Status Not Determined

Hi there !

I would like to use the $Name$ Keyword in my java source. To do this, I added
the line:

public final static String cvsRelease = new String("$Name$");

to my source. Then, I tagged it "prerelease-1_0". To get the substitution, I

cvs -d  ":pserver:address@hidden:/usr/local/cvsroot" checkout -r
prerelease-1_0 UserAccount

but the line just expanded to

public final static String cvsRelease = new String("$Name:  $");

I thought, there should stand "$Name: prerelease-1_0$" ??? Other tags
($id$...) work just fine.

The log says, the tag is there:

address@hidden: > cvs -d  ":pserver:address@hidden:/usr/local/cvsroot"
log UserAccount/src/com/somewhere/frames/

RCS file:
Working file: UserAccount/src/com/somewhere/frames/
head: 1.4
locks: strict
access list:
symbolic names:
        prerelease-1_0: 1.4
keyword substitution: kv
total revisions: 4;     selected revisions: 4

I dont' know what to do. I had the same problem at home and ignored it after
a while, but here at work it is urgent...

Many thanks in advance,
Markus Grunwald

Registered Linux User Nr 101577      PGP Key:      

Info-cvs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]