velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua.L...@reasoning.com
Subject CPP like interface to Velocity
Date Fri, 13 Dec 2002 23:58:23 GMT

I was thinking of creating a simple velocity based
application, which could be used like a preprocessor.
Sort of like this:

java Preprocessor -Dfoo -DBAR=baz file.txt >file.htm

Internally, it would take file.txt as a template,
do a context.put("foo",new Boolean(true)) and a
context.put("BAR","baz") and write the result
to standard out.  

Does anyone know of such a thing already existing?
I'd love to reuse it.  

Joshua


--
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