> Unreletaed to this, but Thomas one more question if I may: can you see a 
> problem with folloging Gradle task: 
>
> task gwtCodeServerManual(type: JavaExec) { 
> main = 'com.google.gwt.dev.codeserver.CodeServer' 
> classpath += files(sourceSets.main.compileClasspath, 
> sourceSets.main.runtimeClasspath) 
> args += '-logLevel ALL' 
> args += '-bindAddress 0.0.0.0' 
> args += '-port 9877' 
> args += '-launcherDir war' 
> args += '-XmethodNameDisplayMode FULL' 
> args += 'com.steatoda.mole.gwt.Desk' 
> } 
>
> From --debug output it seems that it passes parameters properly, but 
> somehow CodeServer complains (here it complains with "Unknown argument: 
> -logLevel ALL", but it will complain on ANY parameter, whichever I define 
> first): 
>

A parameter option (like ALL in -logLevel ALL) is also an argument on its 
own, so you need to split your argument string into two as needed.

Personally I define arguments the following way:

args = [
  '-sourceLevel', '11',
  '-strict',
  '-workDir', gwtCodeServerWorkDir,
  '-launcherDir', gwtCodeServerWarDir,
  '-failOnError',
  '-bindAddress', '0.0.0.0',
  '-port', port,
  '-style', 'PRETTY',
  '-XmethodNameDisplayMode', 'ABBREVIATED'
]


-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/5e7e3d02-8e81-4268-ac03-82cade22fad4n%40googlegroups.com.

Reply via email to