Yes, it does indeed work passing in via GRADLE_OPTS. It looks like I have a stranger problem where my javaagent (-javaagent:org.springframework.instrument-3.0.3.RELEASE.jar) is being ignored. It works under maven jetty:run, but for some reason isn't working with gradle.
On Thu, Aug 19, 2010 at 10:09 AM, Rene Groeschke <[email protected]>wrote: > Hi Dillon > Am Do, 19.08.2010, 15:52, schrieb Dillon Sellars: > > How can one pass Java options like -Xmx512m to jettyRun? > As far as I know the Jetty server is started in the gradle java runtime > itself. so you can't pass those Java options to the jetty plugin yet. > As a workaround you need to pass the -xmx512 to your gradle build :-/ > > > regards, > René > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
