16 May 16:37
Re: [groovy-user] Property files in jar & ConfigSlurper
From: Jochen Theodorou <blackdrag@...>
Subject: Re: [groovy-user] Property files in jar & ConfigSlurper
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-05-16 14:37:07 GMT
Subject: Re: [groovy-user] Property files in jar & ConfigSlurper
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-05-16 14:37:07 GMT
Tom Corcoran schrieb: > I have learned from this list that groovy property files are not really > property files but groovy script. We have been storing them in a /properties > directory like with Java properties files. I have not noticed .class files > being compiled from them so am a little confused how that works. > > Anyway, we are packing the "property files" in a jar and are wondering how > to rig ConfigSlurper to read in from a file in the jar? groovy can compile classes in memory and on the fly... like it does with any .groovy file you give it. ConfigSlurper is causing this by feeding the file to our compiler bye blackdrag -- -- Jochen "blackdrag" Theodorou The Groovy Project Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/ http://www.g2one.com/ --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
RSS Feed