velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <zod...@holoweb.net>
Subject Re: a PP for Velocity (Was RE: CPP like interface to Velocity)
Date Wed, 18 Dec 2002 07:13:25 GMT
M. Sean Gilligan wrote:

> This looks like a great tool.  However, I was wondering if it could be 
> used to preprocess Velocity templates?  At one point, I had considered 
> attempting this with Texen, but it is hard (impossible?) to 
> pre-process a file with a preprocessor that uses the same language.


Not impossible but ugly; you have to use a lot of escaping. It's way 
easier to use an orthangonal syntax for pre-processing. You should look 
into templating tools that use an alternate syntax, like FreeMarker (if 
it's not sacriligeous of me to mention it on this list ;-)

L.


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message