velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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.  


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

View raw message