Trying to upgrade from GWT1.5 to GWT1.6 here.
Before changing the directory structure I've updated all the GWT
related JARs (gwt-user.jar, gwt-dev-<platform>.jar and gwt-
servlet.jar) and run a successful GWT compilation over my project
(still using the com.google.gwt.dev.GWTCompiler class).
I've then changed the directory structure and since I was already
using ANT well I've just modified my build.xml using the build.xml
generated by the webAppCreator. When trying to compile to javascript
I'm getting the following error:
[java] Compiling module com.pebf.myTestApp
[java] Compiling 15 permutations
[java] Permutation compile succeeded
[java] Linking into Output
[java] Invoking Linker Standard
[java] Attempting to optimize JS
[java] [ERROR] Unable to parse JavaScript
[java] com.google.gwt.dev.js.JsParserException: missing ( before
function parameters
[java] at com.google.gwt.dev.js.JsParser$1.error
(JsParser.java:88)
[java] at com.google.gwt.dev.js.rhino.Context.reportError
(Context.java:459)
[java] at
com.google.gwt.dev.js.rhino.TokenStream.reportSyntaxError
(TokenStream.java:1553)
[java] at com.google.gwt.dev.js.rhino.Parser.reportError
(Parser.java:72)
[java] at com.google.gwt.dev.js.rhino.Parser.mustMatchToken
(Parser.java:64)
[java] at com.google.gwt.dev.js.rhino.Parser.function
(Parser.java:203)
[java] at com.google.gwt.dev.js.rhino.Parser.parse
(Parser.java:116)
[java] at com.google.gwt.dev.js.JsParser.parse(JsParser.java:
112)
[java] at com.google.gwt.dev.js.JsParser.parseInto
(JsParser.java:129)
[java] at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.optimizeJavaScript
(StandardLinkerContext.java:376)
[java] at
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.emitSelectionScript
(SelectionScriptLinker.java:120)
[java] at
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.link
(SelectionScriptLinker.java:98)
[java] at com.google.gwt.core.linker.IFrameLinker.link
(IFrameLinker.java:49)
[java] at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLink
(StandardLinkerContext.java:328)
[java] at com.google.gwt.dev.Link.doLink(Link.java:175)
[java] at com.google.gwt.dev.Link.link(Link.java:133)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:183)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:
124)
[java] at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:84)
[java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:78)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:131)
[java] [ERROR] Failed to link
[java] com.google.gwt.core.ext.UnableToCompleteException: (see
previous log entries)
[java] at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.optimizeJavaScript
(StandardLinkerContext.java:382)
[java] at
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.emitSelectionScript
(SelectionScriptLinker.java:120)
[java] at
com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.link
(SelectionScriptLinker.java:98)
[java] at com.google.gwt.core.linker.IFrameLinker.link
(IFrameLinker.java:49)
[java] at
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLink
(StandardLinkerContext.java:328)
[java] at com.google.gwt.dev.Link.doLink(Link.java:175)
[java] at com.google.gwt.dev.Link.link(Link.java:133)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:183)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:
124)
[java] at com.google.gwt.dev.CompileTaskRunner.doRun
(CompileTaskRunner.java:84)
[java] at
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:78)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:131)
Do you why this would happen or how can I go about troubleshooting it?
I'm not using JSNI and I still didn't replace the old EventListener
classes by EventHandlers.
Thanks,
Pedro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---