Markus Grunwald wrote:

> 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 
> executed
> 
> cvs -d  ":pserver:grunwalm@swscvs1:/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.
> 

Is the ta prerelease-1_0 a branch tag or a normal tag? If it is a branch 
tag, then it won't expand. I've griped about this on this list before 
(check for my previous messages).


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to