Errors migrating to GWT 2.7.0 . Can someone please help me ?

1,731 views
Skip to first unread message

ssg

unread,
Jan 15, 2015, 3:42:51 PM1/15/15
to google-we...@googlegroups.com
I am getting the following error while performing Ant Build.
Can someone please help me ?

Compiling module com.acg.mmsea.gwt.Appname
     [java]    [WARN] Unable to read: jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/UI.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/DOM.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    [WARN] Unable to read: jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]    Ignored 2 units with compilation errors in first pass.

[ERROR] Unexpected internal compiler error
     [java] java.lang.RuntimeException: Unexpected IOException on in-memory stream
     [java]     at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
     [java]     at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
     [java]     at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
     [java]     at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
     [java]     at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
     [java]     at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
     [java]     at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
     [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
     [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
     [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
     [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:206)
     [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:158)
     [java]     at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
     [java]     at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
     [java]     at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
     [java]     at com.google.gwt.dev.Compiler.main(Compiler.java:127)
     [java] Caused by: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
     [java]     at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:619)
     [java]     at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1606)
     [java]     at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1501)
     [java]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1755)
     [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
     [java]     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1976)
     [java]     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)
     [java]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1782)
     [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
     [java]     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1976)
     [java]     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)
     [java]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1782)
     [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
     [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
     [java]     at java.util.ArrayList.readObject(ArrayList.java:731)
     [java]     at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:600)
     [java]     at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1028)
     [java]     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1878)
     [java]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1782)
     [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
     [java]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
     [java]     at com.google.gwt.dev.jjs.ast.JDeclaredType.readMembers(JDeclaredType.java:412)
     [java]     at com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:229)
     [java]     at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:381)
     [java]     ... 32 more

BUILD FAILED
C:\APPNAME WrkSpc\AppName\build.xml:65: Java returned: 1

Thomas Broyer

unread,
Jan 16, 2015, 4:15:32 AM1/16/15
to google-we...@googlegroups.com
What JDK are you using? If you're not using OpenJDK or Oracle's JDK (e.g. IBM JDK), then add -Dgwt.usearchives=false.

Note: GWT 2.8 will remove the "gwtar" (which are serialized precompilation state) so it should hopefully work out of the box with any JDK.

ssg

unread,
Jan 16, 2015, 12:02:18 PM1/16/15
to google-we...@googlegroups.com
Thomas, Thanks a lot for your response.
I am using JDK1.6. I am also new to GWT.

1) Can you please help me how & where to add -Dgwt.usearchives=false ?
2) Are you suggesting me to use GWT 2.8 instead of 2.7 now?

Thanks in advance.

Thomas Broyer

unread,
Jan 16, 2015, 12:12:14 PM1/16/15
to google-we...@googlegroups.com


On Friday, January 16, 2015 at 6:02:18 PM UTC+1, ssg wrote:
Thomas, Thanks a lot for your response.
I am using JDK1.6. I am also new to GWT.

1) Can you please help me how & where to add -Dgwt.usearchives=false ?

In your Ant build, where you call the GWT Compiler, add a <sysproperty key="gwt.usearchives" value="false" /> to your <java> task.
 
2) Are you suggesting me to use GWT 2.8 instead of 2.7 now?

No!
(GWT 2.8 will require Java 7+ anyway)

ssg

unread,
Jan 21, 2015, 9:28:09 AM1/21/15
to google-we...@googlegroups.com
Thomas, Thanks a lot for your responses.

I made a change in my Ant build GWT Compiler by adding the line (text in green) as you suggested to my <java> task;  I copied my build.xml code.

I also copied the error below I am getting after adding this sysproperty.

Can you please check the error and suggest next steps ?

--------------------------------------------------------------------------------------------Start of Build.xml Code----------------------------------------------------------------------------------------------------
<target name="gwtc" depends="javac" description="GWT compile to JavaScript">
    <mkdir dir="${out.dir}" />
    <java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler"  maxmemory="512m">

    <sysproperty key="gwt.usearchives" value="false" />
      <classpath>
        <pathelement location="src"/>
        <path refid="project.class.path"/>
      </classpath>
      <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
      <!-- <jvmarg value="-Xmx256M"/> -->
      <!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
      <arg value="com.acg.mmsea.gwt.Mmsea" />
      <arg value="-war" />
      <arg file="${basedir}/${out.dir}" />
      <arg value="-style" />
      <arg value="PRETTY" />       
  <!--<arg value="-logLevel" />
      <arg value="DEBUG" /> -->      
    </java>
    <copy todir="${web.dir}">
            <fileset dir="${out.dir}/${module}"/>
    </copy>
  </target>
--------------------------------------------------------------------------------------------End of Build.xml Code----------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------Start of ERROR----------------------------------------------------------------------------------------------------
Compiling module com.acg.appname.gwt.Appname
     [java]    [ERROR] Unexpected internal compiler error
C:\APPNAME WrkSpc\AppnameApp\build.xml:64: Java returned: 1
--------------------------------------------------------------------------------------------Endof ERROR----------------------------------------------------------------------------------------------------

eho...@usdataworks.com

unread,
Feb 12, 2015, 3:28:18 PM2/12/15
to google-we...@googlegroups.com
Same problem here.  I'm compiling with Oracle's 1.7.0.u45 JDK.  I get a bunch of warnings like this:

   [WARN] Unable to read: jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837

before my compile terminates with this:

   Adding '1' new generated units
      Compiling...
         Compilation completed in 0.01 seconds
      Removing invalidated units
   [ERROR] Unexpected internal compiler error
java.lang.RuntimeException: Unexpected IOException on in-memory stream
at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:206)
at com.google.gwt.dev.Compiler.run(Compiler.java:158)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
at com.google.gwt.dev.Compiler.main(Compiler.java:127)
Caused by: java.io.InvalidClassException: com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream classdesc serialVersionUID = -2407201776821563037, local class serialVersionUID = 4713379764594032837
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:632)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at java.util.ArrayList.readObject(ArrayList.java:731)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1044)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at com.google.gwt.dev.jjs.ast.JDeclaredType.readMembers(JDeclaredType.java:412)
at com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:229)
at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:381)
... 17 more


eho...@usdataworks.com

unread,
Feb 12, 2015, 3:53:54 PM2/12/15
to google-we...@googlegroups.com
I said "I'm compiling with Oracle's 1.7.0.u45 JDK", but I'm not quite sure.  Does the Eclipse (4.3) plugin's GWT compiler use the current Eclipse default JRE?  Is there something I need to do to configure it?

Juan Pablo Gardella

unread,
Feb 12, 2015, 4:04:36 PM2/12/15
to google-we...@googlegroups.com
Which GWT compiler are you using? Eclipse 4.3 recommends JRE 1.6, but you can add a different JDK in Eclipse from from Windows->preference->Java->Installed JRE. Then in your project you can use it (right click in the project, properties-> Java->built path and choose the JDK).

On 12 February 2015 at 17:53, <eho...@usdataworks.com> wrote:
I said "I'm compiling with Oracle's 1.7.0.u45 JDK", but I'm not quite sure.  Does the Eclipse (4.3) plugin's GWT compiler use the current Eclipse default JRE?  Is there something I need to do to configure it?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

eho...@usdataworks.com

unread,
Feb 12, 2015, 4:09:13 PM2/12/15
to google-we...@googlegroups.com
Which GWT compiler I'm using:  The one that runs when I right click on a project containing a GWT module and select Google -> GWT Compile.  I just installed the latest from https://dl.google.com/eclipse/plugin/4.3.

I used to have launch configurations to compile GWT, but they all seem to have been erased.  No warning given.

I have my default JRE in Eclipse set to 1.7.0.u45.  The project that contains my GWT module doesn't override that.


On Thursday, February 12, 2015 at 3:04:36 PM UTC-6, Juan Pablo Gardella wrote:
Which GWT compiler are you using? Eclipse 4.3 recommends JRE 1.6, but you can add a different JDK in Eclipse from from Windows->preference->Java->Installed JRE. Then in your project you can use it (right click in the project, properties-> Java->built path and choose the JDK).
On 12 February 2015 at 17:53, <eho...@usdataworks.com> wrote:
I said "I'm compiling with Oracle's 1.7.0.u45 JDK", but I'm not quite sure.  Does the Eclipse (4.3) plugin's GWT compiler use the current Eclipse default JRE?  Is there something I need to do to configure it?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub...@googlegroups.com.

Jens

unread,
Feb 12, 2015, 5:54:15 PM2/12/15
to google-we...@googlegroups.com
Should be the JRE/JDK you have configured for your project and not the one you launched Eclipse with.

I am on Mac OS and use Oracle JDK 1.7 and haven't seen any gwtar issues yet. Maybe you accidentally have two different GWT versions on classpath?

But as Thomas already said, if you have trouble with the gwtar files you can always use -Dgwt.usearchives=false to disable them.

-- J.

eho...@usdataworks.com

unread,
Feb 12, 2015, 5:59:10 PM2/12/15
to google-we...@googlegroups.com
That fails like this:

Unknown argument: -Dgwt.usearchives=false
Google Web Toolkit 2.7.0
Compiler [-logLevel level] [-workDir dir] [-[no]compileReport] [-X[no]checkCasts] [-X[no]classMetadata] [-[no]draftCompile] [-[no]checkAssertions] [-X[no]closureCompiler] [-XfragmentCount numFragments] [-XfragmentMerge numFragments] [-gen dir] [-[no]incrementalCompileWarnings] [-XjsInteropMode [NONE, JS, CLOSURE]] [-missingDepsFile file] [-Xnamespace PACKAGE, NONE] [-optimize level] [-[no]overlappingSourceWarnings] [-[no]saveSource] [-style style] [-[no]failOnError] [-X[no]enforceStrictResources] [-[no]validateOnly] [-sourceLevel [auto, 1.6, 1.7]] [-localWorkers count] [-[no]incremental] [-war dir] [-deploy dir] [-extra dir] [-saveSourceOutput dir] [-XmethodNameDisplayMode NONE | ONLY_METHOD_NAME | ABBREVIATED | FULL] module[s] 

where 
  -logLevel                        The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
  -workDir                         The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
  -[no]compileReport               Compile a report that tells the "Story of Your Compile". (defaults to OFF)
  -X[no]checkCasts                 EXPERIMENTAL: Insert run-time checking of cast operations. (defaults to ON)
  -X[no]classMetadata              EXPERIMENTAL: Include metadata for some java.lang.Class methods (e.g. getName()). (defaults to ON)
  -[no]draftCompile                Compile quickly with minimal optimizations. (defaults to OFF)
  -[no]checkAssertions             Include assert statements in compiled output. (defaults to OFF)
  -X[no]closureCompiler            EXPERIMENTAL: Compile output Javascript with the Closure compiler for even further optimizations. (defaults to OFF)
  -XfragmentCount                  EXPERIMENTAL: Limits of number of fragments using a code splitter that merges split points.
  -XfragmentMerge                  DEPRECATED (use -XfragmentCount instead): Enables Fragment merging code splitter.
  -gen                             Debugging: causes normally-transient generated types to be saved in the specified directory
  -[no]incrementalCompileWarnings  Whether to show warnings during monolithic compiles for issues that will break in incremental compiles (strict compile errors, strict source directory inclusion, missing dependencies). (defaults to OFF)
  -XjsInteropMode                  Specifies JsInterop mode, either NONE, JS, or CLOSURE (defaults to NONE)
  -missingDepsFile                 Specifies a file into which detailed missing dependency information will be written.
  -Xnamespace                      Puts most JavaScript globals into namespaces. Default: PACKAGE for -draftCompile, otherwise NONE
  -optimize                        Sets the optimization level used by the compiler.  0=none 9=maximum.
  -[no]overlappingSourceWarnings   Whether to show warnings during monolithic compiles for overlapping source inclusion. (defaults to OFF)
  -[no]saveSource                  Enables saving source code needed by debuggers. Also see -debugDir. (defaults to OFF)
  -style                           Script output style: OBF[USCATED], PRETTY, or DETAILED (defaults to OBF)
  -[no]failOnError                 Fail compilation if any input file contains an error. (defaults to OFF)
  -X[no]enforceStrictResources     EXPERIMENTAL: Avoid adding implicit dependencies on "client" and "public" for modules that don't define any dependencies. (defaults to OFF)
  -[no]validateOnly                Validate all source code, but do not compile. (defaults to OFF)
  -sourceLevel                     Specifies Java source level (defaults to auto:1.6)
  -localWorkers                    The number of local workers to use when compiling permutations
  -[no]incremental                 Compiles faster by reusing data from the previous compile. (defaults to OFF)
  -war                             The directory into which deployable output files will be written (defaults to 'war')
  -deploy                          The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
  -extra                           The directory into which extra files, not intended for deployment, will be written
  -saveSourceOutput                Overrides where source files useful to debuggers will be written. Default: saved with extras.
  -XmethodNameDisplayMode          Emit extra information allow chrome dev tools to display Java identifiers in many places instead of JavaScript functions.
and 
  module[s]                        Specifies the name(s) of the module(s) to compile

Thomas Broyer

unread,
Feb 12, 2015, 6:06:08 PM2/12/15
to google-we...@googlegroups.com
It's not a compiler argument, it's a JVM one (setting a system property)

Jens

unread,
Feb 12, 2015, 6:08:07 PM2/12/15
to google-we...@googlegroups.com
Its a JVM parameter for defining a system property and not a GWT compiler/DevMode parameter.

-- J.

Srinivasarao Makkena

unread,
Sep 28, 2015, 7:07:37 AM9/28/15
to GWT Users

I could get past it by removing *.gwtar from gwt-user-2.5.0.jar which are supposed to be loaded by gwt for increased performance.
Along with it removed gwt-Unit cache and complied...it rebuilt entire jar and worked fine.
--sri
Reply all
Reply to author
Forward
0 new messages