Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] embedding groovy in config files

phil swenson

2010-03-05

Replies: Find Java Web Hosting

Author LoginPost Reply
A while back I asked about a groovy equivalent to Ruby's ERB, which
lets you process YAML, XML, JSON and other config files as a template
where you can embed ruby code in them.

So you could have code like:

<blah><%=my_variable%></blah>

I was pointed at ConfigSlurper.

ConfigSlurper is cool, but it doesn't look like it supports XML. Is
this correct?

Is there a more general groovy templating system that is more like ERB?

Thanks

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.