Closed donbeave closed 10 years ago
That's great!
Would you mind awfully updating the documentation with this new option?
Then I'll merge it straight into the 0.9.x and 1.0 branches.
Could you please release a new version of the plugin with this feature?
Thanks @daviddawson I will update documentation with this new option.
@donbeave Hey dude. don't worry, I've just done the update to get it out of the door.
Thanks for the feature! :-)
@confile @donbeave 0.9.3 is released with this feature merged in.
great thank you!
Do I have to use it like this?
gwt.compile.args = {
// arg(value: '-strict')
arg(value: '-XdisableClassMetadata')
arg(value: '-XdisableCastChecking')
arg(value: '-XenableClosureCompiler')
}
gwt.run.args = {
jvmarg(value: '-Xms1024m')
jvmarg(value: '-Xmx2048m')
}
gwt {
version="2.5.1"
dependencies=[
'com.google.gwt.inject:gin:2.1.1' ]
}
The better if you specify GIN dependency by standard way (from plugin documentation), because gin depends on some libraries, and plugin can automatically download them all.
gwt.compile.args = {
arg(value: '-XdisableClassMetadata')
arg(value: '-XdisableCastChecking')
arg(value: '-XenableClosureCompiler')
}
gwt.run.args = {
jvmarg(value: '-Xms1024m')
jvmarg(value: '-Xmx2048m')
}
gwt {
version = '2.5.1'
gin.version = '2.1.2'
}
I just pulled new request that contain fix for GIN versions >= 2.1 https://github.com/simplicityitself/grails-gwt/pull/36
Could you please update the grails plugin release for that last commit
Hi, David!
I added support of
gwt.compile.args
configuration option.It need to spit up args between run and compile processes:
It needs to fix fail problem when you start
run-gwt-codeserver
with all above listed parameters defined in onegwt.run.args
. Becausecom.google.gwt.dev.codeserver.CodeServer
doesn't support all of these parameters, like-XdisableClassMetadata
,-XdisableCastChecking
, ...