atom feed7 messages in org.codehaus.grails.devRe: [grails-dev] Plugin with a compil...
FromSent OnAttachments
Justin EdelsonDec 8, 2007 8:10 pm 
Luke DaleyDec 9, 2007 2:58 pm 
Graeme RocherDec 10, 2007 3:48 am 
Justin EdelsonDec 10, 2007 7:04 am 
Justin EdelsonDec 10, 2007 7:41 pm 
Graeme RocherDec 10, 2007 9:18 pm 
Justin EdelsonDec 11, 2007 7:11 am 
Subject:Re: [grails-dev] Plugin with a compile-only dependency
From:Justin Edelson (
Date:Dec 10, 2007 7:04:33 am

This more or less works. The only problem is that the plugin zip doesn't include the jms jar (because it's not in /lib). As a result, I have to use the URL on the Maven (there's that word again) repository: eventSetClasspath = { rootLoader -> rootLoader.addURL(new URL(" ")) }

As someone who does development offline pretty much every day, this seems inconvenient at best. I guess I'll try hacking up the PackagePlugin.groovyscript next.

Thanks, Justin

On Dec 9, 2007 5:58 PM, Luke Daley <> wrote:

On 09/12/2007, at 2:10 PM, Justin Edelson wrote:

I've found that in order to get the JMS Plugin working on JBoss, you have to manually edit the produced war file to remove a jar file. This jar file (geronimo-jms_1.1_spec-1.0.jar) is a compile- time dependency. Is there a way that I can get a jar on the compile classpath, but not included in the war?

Hrmm, if only Grails utilised Maven :P

I don't know if this would work but perhaps you could augment the classpath with your plugin?, see the SetClasspath event.


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