You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Jo...@reasoning.com on 2002/12/14 00:58:23 UTC

CPP like interface to Velocity

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>