Hi Peter,
On Sunday, November 10, 2019 at 7:20:20 PM UTC-8, Peter Donald wrote:
-- I tried to use your GWT distro, and although I see that I get the right artifacts on my classpath:
default - Configuration for default artifacts.
+--- com.peruncs.gwt:gwt-utils:0.0.6
+--- com.peruncs.gwt:gwt-stripe:0.0.6
| \--- com.peruncs.gwt:gwt-utils:0.0.6
+--- com.peruncs.gwt:gwt-uikit:0.0.6
| \--- com.peruncs.gwt:gwt-utils:0.0.6
+--- com.peruncs.gwt:gwt-jwt:0.0.6
| +--- com.google.elemental2:elemental2-core:2.25 -> org.realityforge.com.google.elemental2:elemental2-core:2.25
| | +--- com.google.jsinterop:jsinterop-annotations:1.0.2 -> org.realityforge.com.google.jsinterop:jsinterop-annotations:2.8.2-v20191108
| | +--- org.realityforge.com.google.jsinterop:base:1.0.0-b2-e6d791f
| | | \--- com.google.jsinterop:jsinterop-annotations:1.0.2 -> org.realityforge.com.google.jsinterop:jsinterop-annotations:2.8.2-v20191108
| | \--- org.realityforge.com.google.elemental2:elemental2-promise:2.25
| | +--- com.google.jsinterop:jsinterop-annotations:1.0.2 -> org.realityforge.com.google.jsinterop:jsinterop-annotations:2.8.2-v20191108
| | \--- org.realityforge.com.google.jsinterop:base:1.0.0-b2-e6d791f (*)
| +--- com.google.elemental2:elemental2-dom:2.25 -> org.realityforge.com.google.elemental2:elemental2-dom:2.25
| | +--- com.google.jsinterop:jsinterop-annotations:1.0.2 -> org.realityforge.com.google.jsinterop:jsinterop-annotations:2.8.2-v20191108
| | +--- org.realityforge.com.google.jsinterop:base:1.0.0-b2-e6d791f (*)
| | +--- org.realityforge.com.google.elemental2:elemental2-core:2.25 (*)
| | \--- org.realityforge.com.google.elemental2:elemental2-promise:2.25 (*)
| \--- com.google.elemental2:elemental2-webstorage:2.25 -> org.realityforge.com.google.elemental2:elemental2-webstorage:2.25
| +--- com.google.jsinterop:jsinterop-annotations:1.0.2 -> org.realityforge.com.google.jsinterop:jsinterop-annotations:2.8.2-v20191108
| +--- org.realityforge.com.google.jsinterop:base:1.0.0-b2-e6d791f (*)
| +--- org.realityforge.com.google.elemental2:elemental2-core:2.25 (*)
| \--- org.realityforge.com.google.elemental2:elemental2-dom:2.25 (*)
I think I will need more information on org.realityforge.com.google.jsinterop:base, which you did not specify in your email.
But even then Errai has some issues with generators that I don't understand:
> Task :recres-webapp:gwtCompile
Compiling module com.recres.web.MainDev
Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
Generating Marshallers Bootstrapper...
[ERROR] Error generating MarshallerFactoryImpl
java.lang.RuntimeException: a new annotation has been introduced (javax.annotation.processing.Generated); you cannot currently introduce new annotations in devmode. Please restart.
at org.jboss.errai.config.rebind.MetaClassBridgeUtil.populateMetaClassFactoryFromTypeOracle(MetaClassBridgeUtil.java:88)
at org.jboss.errai.config.rebind.AbstractAsyncGenerator$2.run(AbstractAsyncGenerator.java:197)
at org.jboss.errai.config.rebind.AsyncGenerationJob.notifyStarting(AsyncGenerationJob.java:86)
at org.jboss.errai.config.rebind.AsyncGenerators.notifyStarting(AsyncGenerators.java:188)
at org.jboss.errai.config.rebind.AsyncGenerators.startAll(AsyncGenerators.java:144)
at org.jboss.errai.config.rebind.AsyncGenerators.getFutureFor(AsyncGenerators.java:55)
at org.jboss.errai.config.rebind.AsyncGenerationJob.submit(AsyncGenerationJob.java:109)
at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:203)
at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:75)
at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:519)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:487)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.maybeHandleMagicMethodCall(UnifyAst.java:415)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402)
at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265)
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:118)
at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:76)
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:118)
at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:89)
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:118)
at com.google.gwt.dev.jjs.ast.JExpressionStatement.traverse(JExpressionStatement.java:42)
at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:94)
at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:94)
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:139)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.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.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:786)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:778)
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:1401)
at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:896)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:243)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:190)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:131)
at com.google.gwt.dev.Compiler.compile(Compiler.java:192)
at com.google.gwt.dev.Compiler.compile(Compiler.java:143)
at com.google.gwt.dev.Compiler.compile(Compiler.java:132)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:110)
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:113)
Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
Generating Marshallers Bootstrapper...
[WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
[WARN] org.jboss.errai.marshalling.client.api.MarshallerFactoryImpl
[ERROR] Could not find org.jboss.errai.marshalling.client.api.MarshallerFactoryImpl in types compiled from source. Is the source glob too strict?
[ERROR] Errors in 'org/jboss/errai/marshalling/client/api/MarshallerFramework.java'
[ERROR] Line 46: Rebind result 'org.jboss.errai.marshalling.client.api.MarshallerFactoryImpl' could not be found
Computing all possible rebind results for 'org.jboss.errai.enterprise.client.jaxrs.JaxrsProxyLoader'
Rebinding org.jboss.errai.enterprise.client.jaxrs.JaxrsProxyLoader
Invoking generator org.jboss.errai.enterprise.rebind.JaxrsProxyLoaderGenerator
[ERROR] Error generating JaxrsProxyLoaderImpl
java.lang.RuntimeException: no generator found for interface: org.jboss.errai.enterprise.client.jaxrs.JaxrsProxyLoader
On Sunday, November 10, 2019 at 7:20:20 PM UTC-8, Peter Donald wrote:
GWT is a development toolkit for building and optimizing complex
browser-based applications. Its goal is to enable productive
development of high-performance web applications without the
developer having to be an expert in browser quirks,
XMLHttpRequest, and JavaScript. It's open-source, completely
free, and used by thousands of developers around the world.
https://github.com/gwtproject/gwt
This is an unofficial release to Maven Central with the groupId
prefixed with "org.realityforge.". The intent is to get the current
version of GWT into more people's hands earlier. Please don't bug
the GWT project. Versions are released on demand.
The one significant difference in the way that it has been packaged
is to release the jsinterop-annotations artifact with the coordinate
org.realityforge.com.google.jsinterop:jsinterop- annotations:jar:2.8.2- v20191108
For most Maven users, it should be sufficient to update your
dependency declarations to something like:
<dependency>
<groupId>org.realityforge.com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>2.8.2-v20191108</version>
</dependency>
<dependency>
<groupId>org.realityforge.com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.8.2-v20191108</version>
</dependency>
Hope this helps,
Peter Donald
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/450a8ff8-94e2-49c7-bca9-22a75352dfa8%40googlegroups.com.
No comments:
Post a Comment