Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Is there something like a ConfigSlurper for parsing
custom builder code?

ecrane

2010-03-07


Author LoginPost Reply

I am making use of several custom builders in order to define application
data in a concise, intuitive way. Right now, I'm actually embedding the data
definition in my src/groovy files; obviously this isn't ideal. I'd much
prefer to store it as config files that can be loaded by the application as
needed, without needing to recompile and run it. The ConfigSlurper does
exactly this, but using its own builder syntax. Does anyone happen to know
if there's an easy way to perform that kind of config file loading, but
parsing the file using a custom builder? Or is this something I'm going to
have to code up myself?
--
Sent from the groovy - user mailing list archive at Nabble.com.


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

  http://xircles.codehaus.org/manage_email


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