RE: ConfigSlurper not finding Config.groovy in jar

2016-04-15 Thread Billy Buzzard
the pom file that will let you exclude the /src/main/resources folder. From: Billy Buzzard [mailto:billy.buzz...@bnsflogistics.com] Sent: Friday, April 15, 2016 1:28 PM To: users@groovy.apache.org Subject: RE: ConfigSlurper not finding Config.groovy in jar The reason “Config.class” is appearing

RE: ConfigSlurper not finding Config.groovy in jar

2016-04-15 Thread Billy Buzzard
from changing work. From: Guy Matz [mailto:guym...@gmail.com] Sent: Friday, April 15, 2016 1:02 PM To: users@groovy.apache.org Subject: Re: ConfigSlurper not finding Config.groovy in jar As usual, the Groovy solution is far simpler than anticipated. Thank you!! On Fri, Apr 15, 2016 at 1:25 PM

Re: ConfigSlurper not finding Config.groovy in jar

2016-04-15 Thread Guy Matz
As usual, the Groovy solution is far simpler than anticipated. Thank you!! On Fri, Apr 15, 2016 at 1:25 PM, John Wagenleitner < john.wagenleit...@gmail.com> wrote: > If the build is compiling the file you probably either need to copy it > into your jar from another location or you might be able

Re: ConfigSlurper not finding Config.groovy in jar

2016-04-15 Thread John Wagenleitner
If the build is compiling the file you probably either need to copy it into your jar from another location or you might be able to use the #parse(Class) method of ConfigSlurper. def config = new ConfigSlurper().parse(Config) On Fri, Apr 15, 2016 at 9:07 AM, Guy Matz wrote: > Hi! I can't seem t