maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Archetype: escaping velocity properties.
Date Tue, 28 Jul 2009 12:23:43 GMT
Hi James,

I place the following at the top of all my velocity-processed resources:

#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )

And then simply use those whenever I'd want to use the real symbol,
which is special to velocity. This works for me in resources,
remote-resources, and archetypes.


On Tue, Jul 28, 2009 at 6:33 AM, Nord, James<> wrote:
> I'm creating an archetype but I need to escape some values so that
> velocity doesn't complain about them or even try and substitute them

There are 10 types of people in this world, those
that can read binary and those that can not.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message