[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Keywords substitution does not work as expected

From: Antonio Petrelli <apetrelli_at_apache.org>
Date: 2006-10-19 11:36:42 CEST

Hi list, I have a problem
I have a file, called TilesContextFactory.java, that has the
svn:keywords property set to:
Date Author Id Revision HeadURL
It seems that kewords $Id$, $Rev$ and $Date$ are not always substituted.
I am using Eclipse 3.2, Subclipse 1.0.3. It happens using JavaHL and
JavaSQL, both under Windows 2000 and Linux (Kubuntu 6.06.1).

In the file I have:

<snip>
/*
 * $Id: TilesContextFactory.java 405486 2006-05-09 17:55:29Z greddin $
 *
 * Copyright 1999-2006 The Apache Software Foundation.
</snip>

...and...

<snip>
/**
 * Creates an instance of the appropriate TilesContext implementation.
 *
 * @version $Rev: 405486 $ $Date: 2006-05-09 19:55:29 +0200 (mar, 09 mag
2006) $
 */
</snip>

Now, if I change manually the $Rev: ....$ value to $Rev$ and then I do
"Replace From - Base Revision" or "Latest from Repository", the $Rev$
remains unexpanded. So do $Id$ and $Date$.
But if I do "Team - Add Keywords - Select all" and then I do "Replace
from base revision" or "latest from repository", the keywords are
expanded, and svn:keywords replaced with the original ones.

Should I open a bug issue for this?

TIA
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Oct 19 11:33:08 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.