NB: escape character works, but if you escape both $ like this: \$Id .... \$,
SVN won't recognize it's keyword anymore.

Escaping the first one only works with SVN. 
How would Velocity interpret a single $ character without any string
following?


nodje wrote:
> 
> I'm using Velocity to render HTML pages.
> I have a SVN $Id$ keyword in each Velocity template.
> I'd like to have this one render into the HTML result, so that I can see
> which file version I'm looking at in a browser. Something like <!-- $Id
> ..... $ -->
> 
> However, if I put it like this in the Velocity template, $Id will be
> interpreted as a variable and Velocity will report an error. 
> Usage of Velocity comments works of course, but are not rendered in the
> resulting page.
> 
> So is there any way to tell Velocity not to interpret $id ???'
> 
> cheers,
> --nodje
> 

-- 
View this message in context: 
http://www.nabble.com/rendering-SVN%27s-%24Id%24-infos-tp15603640p15603916.html
Sent from the Velocity - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to