Hello,
Does GWT license allows for the separation of functionality into a
separate library GWT?
Trying to separate UIBinder to a separate library with GWT 2.6.0 and
modify UiBinder but now I have this error:
Compiling module org.yournamehere.Main
Computing all possible rebind results for
'org.yournamehere.client.DynamicForm.DynamicFormUiBinder'
Rebinding org.yournamehere.client.DynamicForm.DynamicFormUiBinder
Invoking generator runtimeuibinder.rebind.UiBinderGenerator
[ERROR] Generator
'runtimeuibinder.rebind.UiBinderGenerator' threw an exception while
rebinding 'org.yournamehere.client.DynamicForm.DynamicFormUiBinder'
java.lang.RuntimeException:
com.google.gwt.uibinder.elementparsers.HasWidgetsParser must extend
ElementParser
at
runtimeuibinder.rebind.UiBinderWriter.getParserForClass(UiBinderWriter.java:1269)
at
runtimeuibinder.rebind.UiBinderWriter.getParsersForClass(UiBinderWriter.java:1293)
at
runtimeuibinder.rebind.UiBinderWriter.parseElementToField(UiBinderWriter.java:933)
at runtimeuibinder.rebind.UiBinderParser.parse(UiBinderParser.java:146)
at
runtimeuibinder.rebind.UiBinderWriter.parseDocumentElement(UiBinderWriter.java:1368)
at
runtimeuibinder.rebind.UiBinderWriter.parseDocument(UiBinderWriter.java:1073)
at
runtimeuibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:177)
at
runtimeuibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:129)
at
com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
at
com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:676)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)
at
com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:387)
at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:465)
at
com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:255)
at
com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:244)
at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)
at
com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)
at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)
at
com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)
at
com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
at
com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)
at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:449)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:418)
at
com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:940)
at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:665)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:672)
at
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:34)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:271)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:223)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:139)
at com.google.gwt.dev.Compiler.run(Compiler.java:167)
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)
[ERROR] Errors in 'org/yournamehere/client/DynamicForm.java'
[ERROR] Line 19: Failed to resolve
'org.yournamehere.client.DynamicForm.DynamicFormUiBinder' via deferred
binding
[WARN] For the following type(s), generated source was never
committed (did you forget to call commit()?)
[WARN] org.yournamehere.client.DynamicForm_DynamicFormUiBinderImpl
C:\Users\Łukasz\Documents\NetBeansProjects\xxx\nbproject\build-gwt.xml:331:
The following error occurred while executing this line:
C:\Users\Łukasz\Documents\NetBeansProjects\xxx\nbproject\build-gwt.xml:480:
Java returned: 1
RG,
Łukasz
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment