Hi,
I'm trying to compile the sources of gwt-dnd for myself with no
modification to the code(Checkout newest version from SVN). But
unfortunately get the following cryptic error:
Attempting to optimize JS [ERROR] Unable to parse JavaScriptcom.google.gwt.dev.js.JsParserException: StandardLinkerContext.optimizeJavaScript(17): missing ( before function parameters> function com_allen_sauer_gwt_dnd_gwt-dnd() {> -------------------------------------^ at com.google.gwt.dev.js.JsParser$1.error(JsParser.java:110) at com.google.gwt.dev.js.rhino.Context.reportError(Context.java:459) at com.google.gwt.dev.js.rhino.TokenStream.reportSyntaxError(TokenStream.java:1594) at com.google.gwt.dev.js.rhino.Parser.reportError(Parser.java:72) at com.google.gwt.dev.js.rhino.Parser.mustMatchToken(Parser.java:64) at com.google.gwt.dev.js.rhino.Parser.function(Parser.java:189) at com.google.gwt.dev.js.rhino.Parser.parse(Parser.java:116) at com.google.gwt.dev.js.JsParser.parseImpl(JsParser.java:131) at com.google.gwt.dev.js.JsParser.parse(JsParser.java:89) at com.google.gwt.dev.js.JsParser.parseInto(JsParser.java:94) at com.google.gwt.core.ext.linker.impl.StandardLinkerContext.optimizeJavaScript(StandardLinkerContext.java:431) at com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.generateSelectionScript(SelectionScriptLinker.java:433) at com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.generateSelectionScript(SelectionScriptLinker.java:422) at com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.emitSelectionScript(SelectionScriptLinker.java:309) at com.google.gwt.core.ext.linker.impl.SelectionScriptLinker.link(SelectionScriptLinker.java:210) at com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeFinalLink(StandardLinkerContext.java:328) at com.google.gwt.dev.Link.doSimulatedShardingLink(Link.java:456) at com.google.gwt.dev.Link.link(Link.java:175) at com.google.gwt.dev.Compiler.run(Compiler.java:200) at com.google.gwt.dev.Compiler.run(Compiler.java:132) at com.google.gwt.dev.Compiler$1.run(Compiler.java:99) 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:106)Shutting down PersistentUnitCache thread The compilation happens via Eclipse->Right-Click on projcet->GWT-Compile with no options.
GWT is 2.6.0, tried it with 2.6.1, same error, jre7
Does anybody have a clue where to search for the problem, the debug isn't very helpful?
Thanks
Additional Linker Information:Linking into C:\Users\xx\git\gwt-dnd\
DragDrop\war\com.allen_sauer.gwt.dnd.gwt-dnd
Constructing StandardLinkerContext
Added selection property ClientBundle.enableInlining : [ false true ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@762578
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@96084a
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1fa6c05
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1c9c161
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@b6d37a
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@f60ec0
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@428ad3
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@a85718
Added selection property audioElementSupport : [ maybe no ]
Added selection property canvasElementSupport : [ maybe no ]
Added selection property compiler.emulatedStack : [ false true ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1c71633
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1827556
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1e565fa
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@18a2b1d
Added selection property compiler.predeclare.cross.fragment.references : [ false true ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@14bb41
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@111d8a8
Added selection property compiler.stackMode : [ emulated native strip ]
Added selection property compiler.useSourceMaps : [ false true ]
Added selection property compiler.useSymbolMaps : [ false true ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@a70f94
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1eff339
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@493bc5
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1f31c4d
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1c73785
Added selection property dragEventSupport : [ maybe no ]
Added selection property geolocationSupport : [ maybe no ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@e1b6c
Added selection property gwt.enableDebugId : [ false true ]
Added selection property gwt.forceBidi : [ false true ]
Added selection property gwt.logging.enabled : [ FALSE SEVERE TRUE WARNING ]
Added selection property gwt.suppressNonStaticFinalFieldWarnings : [ false true ]
Added selection property gwt.unloadEnabled : [ false true ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@2a59bd
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@699ceb
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1bd2a5d
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@2851ff
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@11f6990
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@14b8d50
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@12a9357
Added selection property locale : [ default ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@2f5e62
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1dd95e0
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@9abfba
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1a158f4
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1d7281e
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@8adaed
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@2b188e
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@15916d2
Added selection property storageSupport : [ maybe no ]
Added selection property superdevmode : [ off on ]
Added selection property touchEventSupport : [ maybe no ]
Added selection property user.agent : [ gecko1_8 ie10 ie8 ie9 safari ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@1e9588f
Added selection property videoElementSupport : [ maybe no ]
Added selection property webApiUsage : [ modern stable ]
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@b5436d
Added configuration property com.google.gwt.core.ext.linker.impl.StandardConfigurationProperty@5dc423