|
Thursday, July 30, 2020
Content Reigns King, But That's Not Where the Power Lies
Wednesday, July 29, 2020
Re: How to migrate gwt 2.8.1 project to gwt 2.9.0 in eclipse?
Reads like your war file is empty.
You *must* declare your dependencies via Gradle and if you are mixing server and client code, (a really bad idea), together you will need to remove the root spec exclude filters.
On Wed, Jul 29, 2020 at 9:15 AM mb user <muser071@gmail.com> wrote:
--Thank You Michael!It was a big help.Except the :farmRun I can successfully execute the commands.:farmRun give me an interesting "java.util.zip.ZipException: zip file is empty" message. Any idea, what is this?Full log:gradlew :farmRun
j├║l. 29, 2020 3:07:27 DU org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.34]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@395b56bb]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:468)
at org.apache.catalina.startup.Tomcat$start$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at org.akhikhl.gretty.TomcatServerManager.startServer(TomcatServerManager.groovy:52)
at org.akhikhl.gretty.ServerManager$startServer$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
at org.akhikhl.gretty.Runner.run(Runner.groovy:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:70)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at org.akhikhl.gretty.Runner.main(Runner.groovy:54)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@395b56bb]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4805)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4940)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
... 36 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: zip file is empty
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 48 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:184)
at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:169)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:140)
... 49 moreOn Tuesday, July 28, 2020 at 8:51:02 PM UTC+2, Michael Joyner wrote:We use a build.gradle file similar to the following for most of our GWT client projects:
(Note: We use './gradlew :gwts' to run SDM and './gradlew :build :farmRun' to run a local http server)
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/6ca14730-9480-49d1-b9b6-782f7d8bd539o%40googlegroups.com.
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/CAFHWztxPRo%2BXzdNdDxhdUoQwakhctXAcmSdR9oRxu83JNWxTCw%40mail.gmail.com.
Re: How to migrate gwt 2.8.1 project to gwt 2.9.0 in eclipse?
Thank You Michael!
It was a big help.
Except the :farmRun I can successfully execute the commands.
:farmRun give me an interesting "java.util.zip.ZipException: zip file is empty" message. Any idea, what is this?
Full log:
gradlew :farmRun
j├║l. 29, 2020 3:07:27 DU org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.34]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@395b56bb]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:468)
at org.apache.catalina.startup.Tomcat$start$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at org.akhikhl.gretty.TomcatServerManager.startServer(TomcatServerManager.groovy:52)
at org.akhikhl.gretty.ServerManager$startServer$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
at org.akhikhl.gretty.Runner.run(Runner.groovy:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:70)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at org.akhikhl.gretty.Runner.main(Runner.groovy:54)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@395b56bb]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4805)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4940)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
j├║l. 29, 2020 3:07:27 DU org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet engine: [Apache Tomcat/9.0.34]
j├║l. 29, 2020 3:07:32 DU org.apache.catalina.core.ContainerBase startInternal
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@395b56bb]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Tomcat.start(Tomcat.java:468)
at org.apache.catalina.startup.Tomcat$start$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at org.akhikhl.gretty.TomcatServerManager.startServer(TomcatServerManager.groovy:52)
at org.akhikhl.gretty.ServerManager$startServer$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
at org.akhikhl.gretty.Runner.run(Runner.groovy:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:70)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:119)
at org.akhikhl.gretty.Runner.main(Runner.groovy:54)
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@395b56bb]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:139)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4805)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4940)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
... 36 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: zip file is empty
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 48 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:184)
at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:169)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:140)
... 49 more
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
... 36 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: zip file is empty
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:143)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
... 48 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:130)
at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:184)
at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:169)
at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:140)
... 49 more
We use a build.gradle file similar to the following for most of our GWT client projects:
(Note: We use './gradlew :gwts' to run SDM and './gradlew :build :farmRun' to run a local http server)
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/6ca14730-9480-49d1-b9b6-782f7d8bd539o%40googlegroups.com.
Tuesday, July 28, 2020
Re: How to migrate gwt 2.8.1 project to gwt 2.9.0 in eclipse?
We use a build.gradle file similar to the following for most of our GWT client projects:
(Note: We use './gradlew :gwts' to run SDM and './gradlew :build :farmRun' to run a local http server)
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'gwt'
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
apply plugin: 'org.gretty'
apply plugin: 'maven'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
tasks.withType(JavaCompile) {
options.compilerArgs.addAll(["--release", "8"])
}
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
farm {
webapp ':'
}
buildscript {
repositories {
jcenter()
maven { url 'https://repo.spring.io/plugins-release' }
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'org.wisepersist:gwt-gradle-plugin:1.+'
classpath "gradle.plugin.org.gretty:gretty:3.0.3"
}
}
war {
archiveName 'client.war'
rootSpec.exclude('WEB-INF/classes/**/*.class')
rootSpec.exclude('WEB-INF/classes/**/*.gwt.xml')
}
gretty {
httpPort = 8080;
servletContainer = 'tomcat9'
managedClassReload = false
reloadOnClassChange = false
extraResourceBase 'build/gwt/out'
jvmArgs = ['-Dfile.encoding=UTF-8', '-Xmx2048M', '-Ddebug=true' ]
redeployMode='redeploy'
}
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
gwt {
logLevel = 'INFO'
maxHeapSize = "8192M";
//gwtVersion='2.8.2'
gwtVersion='2.9.0'
modules 'com.project.Module'
compiler {
disableClassMetadata = false;
strict = true;
style = "OBF";
//style = "PRETTY";
localWorkers = 4;
}
superDev {
noPrecompile = true;
failOnError = false;
bindAddress = "0.0.0.0";
}
eclipse {
addGwtContainer = true;
}
}
configurations {
provided
}
dependencies {
gwt 'com.google.gwt:gwt-user:'+gwt.gwtVersion
providedCompile 'com.google.gwt:gwt-servlet:'+gwt.gwtVersion
gwt 'com.google.elemental2:elemental2-dom:1.0.0'
gwt 'com.google.elemental2:elemental2-core:1.0.0'
gwt 'com.google.elemental2:elemental2-promise:1.0.0'
gwt 'com.ekotrope:gwt-completablefuture:1.0.0'
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
compile 'javax.ws.rs:javax.ws.rs-api:2.1.1'
gwt 'org.fusesource.restygwt:restygwt:2.2.+'
gwt "com.fasterxml.jackson.core:jackson-annotations:2.9.6"
gwt "com.fasterxml.jackson.core:jackson-databind:2.9.6"
gwt 'com.google.code.findbugs:jsr305:3.0.0' //required for restygwt compile
gwt 'com.github.nmorel.gwtjackson:gwt-jackson:0.15.2'
gwt ('com.google.gwt.eventbinder:eventbinder:1.1.0') {
//exclude module: 'gwt-user'
}
gwt 'javax.xml.bind:jaxb-api:2.3.+'
}
task "create-dirs" {
doLast{
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}}
eclipseJdt {
doLast{
File f = file('.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/<project>=utf-8')
f = file('.settings/org.eclipse.core.runtime.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('line.separator=\\n\n')
}}
eclipse {
project {
name = 'My Project'
webAppDirName = 'src/main/webapp'
}
classpath {
downloadSources = true
downloadJavadoc = true
}
jdt {
sourceCompatibility=1.8
targetCompatibility=1.8
}
wtp {
facet {
facets = []
facet name: 'jst.java', version: '1.8'
facet name: 'jst.web', version: '3.0'
facet name: 'com.gwtplugins.gwt.facet', version: '1.0'
}
}
}
(Note: We use './gradlew :gwts' to run SDM and './gradlew :build :farmRun' to run a local http server)
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'gwt'
apply plugin: 'eclipse'
apply plugin: 'eclipse-wtp'
apply plugin: 'org.gretty'
apply plugin: 'maven'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
tasks.withType(JavaCompile) {
options.compilerArgs.addAll(["--release", "8"])
}
}
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
farm {
webapp ':'
}
buildscript {
repositories {
jcenter()
maven { url 'https://repo.spring.io/plugins-release' }
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'org.wisepersist:gwt-gradle-plugin:1.+'
classpath "gradle.plugin.org.gretty:gretty:3.0.3"
}
}
war {
archiveName 'client.war'
rootSpec.exclude('WEB-INF/classes/**/*.class')
rootSpec.exclude('WEB-INF/classes/**/*.gwt.xml')
}
gretty {
httpPort = 8080;
servletContainer = 'tomcat9'
managedClassReload = false
reloadOnClassChange = false
extraResourceBase 'build/gwt/out'
jvmArgs = ['-Dfile.encoding=UTF-8', '-Xmx2048M', '-Ddebug=true' ]
redeployMode='redeploy'
}
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
gwt {
logLevel = 'INFO'
maxHeapSize = "8192M";
//gwtVersion='2.8.2'
gwtVersion='2.9.0'
modules 'com.project.Module'
compiler {
disableClassMetadata = false;
strict = true;
style = "OBF";
//style = "PRETTY";
localWorkers = 4;
}
superDev {
noPrecompile = true;
failOnError = false;
bindAddress = "0.0.0.0";
}
eclipse {
addGwtContainer = true;
}
}
configurations {
provided
}
dependencies {
gwt 'com.google.gwt:gwt-user:'+gwt.gwtVersion
providedCompile 'com.google.gwt:gwt-servlet:'+gwt.gwtVersion
gwt 'com.google.elemental2:elemental2-dom:1.0.0'
gwt 'com.google.elemental2:elemental2-core:1.0.0'
gwt 'com.google.elemental2:elemental2-promise:1.0.0'
gwt 'com.ekotrope:gwt-completablefuture:1.0.0'
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
compile 'javax.ws.rs:javax.ws.rs-api:2.1.1'
gwt 'org.fusesource.restygwt:restygwt:2.2.+'
gwt "com.fasterxml.jackson.core:jackson-annotations:2.9.6"
gwt "com.fasterxml.jackson.core:jackson-databind:2.9.6"
gwt 'com.google.code.findbugs:jsr305:3.0.0' //required for restygwt compile
gwt 'com.github.nmorel.gwtjackson:gwt-jackson:0.15.2'
gwt ('com.google.gwt.eventbinder:eventbinder:1.1.0') {
//exclude module: 'gwt-user'
}
gwt 'javax.xml.bind:jaxb-api:2.3.+'
}
task "create-dirs" {
doLast{
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}}
eclipseJdt {
doLast{
File f = file('.settings/org.eclipse.core.resources.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('encoding/<project>=utf-8')
f = file('.settings/org.eclipse.core.runtime.prefs')
f.write('eclipse.preferences.version=1\n')
f.append('line.separator=\\n\n')
}}
eclipse {
project {
name = 'My Project'
webAppDirName = 'src/main/webapp'
}
classpath {
downloadSources = true
downloadJavadoc = true
}
jdt {
sourceCompatibility=1.8
targetCompatibility=1.8
}
wtp {
facet {
facets = []
facet name: 'jst.java', version: '1.8'
facet name: 'jst.web', version: '3.0'
facet name: 'com.gwtplugins.gwt.facet', version: '1.0'
}
}
}
On 7/28/20 1:53 PM, mb user wrote:
--I imported the project from svn, then eclipse created a new gradle project.
It seems like gradle recognize this project as a normal java project.
I have only src and war directories in the repository, so no files in the root dir.In the src there are numerous gwt modules directories, and in the war, there are html/css static files for gwt modules and in the WEB-INF dir:
c:\p\eclipse\fejlesztoi2>dir /b /s "war/WEB-INF"
c:\p\eclipse\fejlesztoi2\war\WEB-INF\glassfish-web.xml
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib
c:\p\eclipse\fejlesztoi2\war\WEB-INF\web.xml
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\activation.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\commons-fileupload-1.2.1.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gchart.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-ajaxloader.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-maps-api-3.10.0-alpha-8-SNAPSHOT.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-servlet.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\javax.xml.soap-api-1.4.0.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\mail.jar
what's next?
On Tuesday, July 28, 2020 at 5:46:07 PM UTC+2, Michael Conrad wrote:
Use Maven or Gradle to configure the project and let Eclipse import it as a Maven or Gradle project.
On Tue, Jul 28, 2020 at 11:42 AM mb user <muse...@gmail.com> wrote:
--Hi,
After a storage crash, I had to reinstall my development computer.
Now I have eclipse 4.16 and a gwt 2.8.1 project source imported from svn.
This project was built with the eclipse gwt plugin, but I cannot install it to eclipse 4.16.
What is the recommended way to achieve compile and deploy (create war file) in eclipse, if you have the project source?
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/ .b10ca891-b6d0-4fdf-a2ee- e0296cb03fc2o%40googlegroups. com
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/60e9fd36-d19e-400b-905a-19f8ba068d16o%40googlegroups.com.
Re: How to migrate gwt 2.8.1 project to gwt 2.9.0 in eclipse?
I imported the project from svn, then eclipse created a new gradle project.
It seems like gradle recognize this project as a normal java project.
I have only src and war directories in the repository, so no files in the root dir.
In the src there are numerous gwt modules directories, and in the war, there are html/css static files for gwt modules and in the WEB-INF dir:
c:\p\eclipse\fejlesztoi2>dir /b /s "war/WEB-INF"
c:\p\eclipse\fejlesztoi2\war\WEB-INF\glassfish-web.xml
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib
c:\p\eclipse\fejlesztoi2\war\WEB-INF\web.xml
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\activation.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\commons-fileupload-1.2.1.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gchart.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-ajaxloader.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-maps-api-3.10.0-alpha-8-SNAPSHOT.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-servlet.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\javax.xml.soap-api-1.4.0.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\mail.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\glassfish-web.xml
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib
c:\p\eclipse\fejlesztoi2\war\WEB-INF\web.xml
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\activation.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\commons-fileupload-1.2.1.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gchart.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-ajaxloader.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-maps-api-3.10.0-alpha-8-SNAPSHOT.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\gwt-servlet.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\javax.xml.soap-api-1.4.0.jar
c:\p\eclipse\fejlesztoi2\war\WEB-INF\lib\mail.jar
what's next?
Use Maven or Gradle to configure the project and let Eclipse import it as a Maven or Gradle project.On Tue, Jul 28, 2020 at 11:42 AM mb user <muse...@gmail.com> wrote:--Hi,After a storage crash, I had to reinstall my development computer.Now I have eclipse 4.16 and a gwt 2.8.1 project source imported from svn.This project was built with the eclipse gwt plugin, but I cannot install it to eclipse 4.16.What is the recommended way to achieve compile and deploy (create war file) in eclipse, if you have the project source?
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/ .b10ca891-b6d0-4fdf-a2ee- e0296cb03fc2o%40googlegroups. com
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/60e9fd36-d19e-400b-905a-19f8ba068d16o%40googlegroups.com.
Re: How to migrate gwt 2.8.1 project to gwt 2.9.0 in eclipse?
Use Maven or Gradle to configure the project and let Eclipse import it as a Maven or Gradle project.
On Tue, Jul 28, 2020 at 11:42 AM mb user <muser071@gmail.com> wrote:
--Hi,After a storage crash, I had to reinstall my development computer.Now I have eclipse 4.16 and a gwt 2.8.1 project source imported from svn.This project was built with the eclipse gwt plugin, but I cannot install it to eclipse 4.16.What is the recommended way to achieve compile and deploy (create war file) in eclipse, if you have the project source?
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/b10ca891-b6d0-4fdf-a2ee-e0296cb03fc2o%40googlegroups.com.
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/CAFHWztyMZY2ozMHTkBnCDs2m0fuqLPWzXFV4VhbEODYT%3D3wvVQ%40mail.gmail.com.
How to migrate gwt 2.8.1 project to gwt 2.9.0 in eclipse?
Hi,
After a storage crash, I had to reinstall my development computer.
Now I have eclipse 4.16 and a gwt 2.8.1 project source imported from svn.
This project was built with the eclipse gwt plugin, but I cannot install it to eclipse 4.16.
What is the recommended way to achieve compile and deploy (create war file) in eclipse, if you have the project source?
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/b10ca891-b6d0-4fdf-a2ee-e0296cb03fc2o%40googlegroups.com.
Re: Do Google Web Toolkit's touch events support Windows tablets?
When I looked at this 6 years ago (in relation to MGWT, which is dead although we still use it in legacy products) Pointer events were the way to go and are supported on all browsers now as far as I am aware.
There was talk of a single touch/pointer API system in GWT similar to what MGWT did where it took mouse, touch and pointer events and converted to a single touch event system. Hence you coded to MGWT's touch system and it worked on all devices.
No idea if GWT did this in the end.
I assume you are using an old IE Edge? Latest Edge uses webkit under the hood and so your problems may go away with this browser. Older IE Edge as far as I can remember does not support touch events but does support Pointer events.
Take what I say with a pinch of salt. It has been many years but I believe that is why you have an issue.
On Tue, 28 Jul 2020 at 07:37, Frank <frank.wynants@gmail.com> wrote:
Maybe you can Google for : JS surface touch events
Or something like that. But for JS. Maybe that can point you in the right direction.--Op maandag 27 juli 2020 om 22:02:20 UTC+2 schreef m.conr...@gmail.com:you will need to check and see what event is actually generated for the windows 10 tablet in the dom and hook those.On Mon, Jul 27, 2020 at 2:52 PM Andy Langer <mighty...@gmail.com> wrote:Hi all. Currently working on a webapp using GWT. I currently have a feature working with touch events on a Canvas. The feature itself works perfectly fine on every device but windows tablets (surface pro). Is there something special I have to do for this, or does GWT have no way of doing this?--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/940db851-82c2-4f1a-99b8-8ef653d1dadao%40googlegroups.com.
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/af7c625a-85ef-4e21-95e3-8520bbc7d10cn%40googlegroups.com.
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/CABia8q4zDi6Lcjc%2BxuF7233V8ohtaaZ8BQWbEuULMEDBVsGS6w%40mail.gmail.com.
Monday, July 27, 2020
Re: Do Google Web Toolkit's touch events support Windows tablets?
Maybe you can Google for : JS surface touch events
Or something like that. But for JS. Maybe that can point you in the right direction. --
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/af7c625a-85ef-4e21-95e3-8520bbc7d10cn%40googlegroups.com.
Or something like that. But for JS. Maybe that can point you in the right direction.
Op maandag 27 juli 2020 om 22:02:20 UTC+2 schreef m.conr...@gmail.com:
you will need to check and see what event is actually generated for the windows 10 tablet in the dom and hook those.On Mon, Jul 27, 2020 at 2:52 PM Andy Langer <mighty...@gmail.com> wrote:Hi all. Currently working on a webapp using GWT. I currently have a feature working with touch events on a Canvas. The feature itself works perfectly fine on every device but windows tablets (surface pro). Is there something special I have to do for this, or does GWT have no way of doing this?--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/940db851-82c2-4f1a-99b8-8ef653d1dadao%40googlegroups.com.
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/af7c625a-85ef-4e21-95e3-8520bbc7d10cn%40googlegroups.com.
Re: Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?
Thanks for the prompt response.
--
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/29f63cba-e8ed-44fa-867c-edbad082e366n%40googlegroups.com.
The issue is the internal Jetty that cannot be loaded with openJdk 11. Here is the log.
Is there any way to replace the internal Jetty with a higher version? I Checked the Jetty forum and apparently they are aware of this.
The code server is ready at http://127.0.0.1:9876/
Code server started in 20.11 s ms
[ERROR] jreLeakPrevention.gcDaemonFail
java.lang.ClassNotFoundException: sun.misc.GC
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at com.google.gwt.dev.shell.jetty.JettyLauncher.jreLeakPrevention(JettyLauncher.java:899)
at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:722)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:636)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:898)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:705)
at com.google.gwt.dev.DevMode.main(DevMode.java:432)
2020-07-27 15:36:29.138:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
Starting Jetty on port 8888
[WARN] Failed startup of context c.g.g.d.s.j.WebAppContextWithReload@8953a7d{/,file:/C:/Eclipse_WP_Java11/Rguroo/war/,STARTING}{C:\Eclipse_WP_Java11\Rguroo\war}
MultiException[java.lang.RuntimeException: Error scanning file Rguroo$1.class, java.lang.RuntimeException: Error scanning file Rguroo$1MyHandler$1.class, java.lang.RuntimeException: Error scanning file Rguroo$1MyHandler.class, java.lang.RuntimeException: Error scanning file Rguroo.class]
at org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:536)
at org.eclipse.jetty.annotations.AnnotationConfiguration.configure(AnnotationConfiguration.java:447)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:479)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1337)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:550)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:140)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:760)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:636)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:898)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:705)
at com.google.gwt.dev.DevMode.main(DevMode.java:432)
Caused by: MultiException[java.lang.RuntimeException: Error scanning file Rguroo$1.class, java.lang.RuntimeException: Error scanning file Rguroo$1MyHandler$1.class, java.lang.RuntimeException: Error scanning file Rguroo$1MyHandler.class, java.lang.RuntimeException: Error scanning file Rguroo.class]
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:681)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:688)
at org.eclipse.jetty.annotations.AnnotationParser.parse(AnnotationParser.java:824)
at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call(AnnotationConfiguration.java:163)
at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run(AnnotationConfiguration.java:548)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.base/java.lang.Thread.run(Thread.java:834)
Suppressed: java.lang.RuntimeException: Error scanning file Rguroo$1MyHandler$1.class
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
... 10 more
Caused by: java.lang.UnsupportedOperationException: This feature requires ASM7
at org.objectweb.asm.ClassVisitor.visitNestHost(ClassVisitor.java:150)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:550)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
... 10 more
Suppressed: java.lang.RuntimeException: Error scanning file Rguroo$1MyHandler.class
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
... 10 more
Caused by: java.lang.UnsupportedOperationException: This feature requires ASM7
at org.objectweb.asm.ClassVisitor.visitNestHost(ClassVisitor.java:150)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:550)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
... 10 more
Suppressed: java.lang.RuntimeException: Error scanning file Rguroo.class
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
... 10 more
Caused by: java.lang.UnsupportedOperationException: This feature requires ASM7
at org.objectweb.asm.ClassVisitor.visitNestMember(ClassVisitor.java:236)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:660)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
... 10 more
Caused by: java.lang.RuntimeException: Error scanning file Rguroo$1.class
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:708)
... 10 more
Caused by: java.lang.UnsupportedOperationException: This feature requires ASM7
at org.objectweb.asm.ClassVisitor.visitNestHost(ClassVisitor.java:150)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:550)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:400)
at org.eclipse.jetty.annotations.AnnotationParser.scanClass(AnnotationParser.java:974)
at org.eclipse.jetty.annotations.AnnotationParser.parseDir(AnnotationParser.java:702)
... 10 more
2020-07-27 15:36:31.285:INFO:oejs.ServerConnector:main: Started ServerConnector@21421b3{HTTP/1.1}{127.0.0.1:8888}
2020-07-27 15:36:31.285:INFO:oejs.Server:main: Started @23499ms
On Monday, July 27, 2020 at 3:42:13 PM UTC-7 m.conr...@gmail.com wrote:
I use Gradle to configure Eclipse.For JDK11 to be used as if it were JDK8 in Eclipse I have added:sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
tasks.withType(JavaCompile) {
options.compilerArgs.addAll(["--release", "8"])
}
}On Mon, Jul 27, 2020 at 6:12 PM Shahram Zadeh <shahra...@gmail.com> wrote:We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been recently released. However Java 1.7 is retiring and getting obsolete we have to move on and upgrade. Since last week we are trying to create a development environment like the existing one but there is no success. I was wondering whether anyone out there is struggling with the same issue, any hint, solution or hacking the eclipse plugin would be greatly appreciated.
Eclipse plugin comes with GWT (2.7 and 2.8.1)
--
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-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/1bdedb59-090d-4c8c-ba72-258e991ae060n%40googlegroups.com.
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/29f63cba-e8ed-44fa-867c-edbad082e366n%40googlegroups.com.
Subscribe to:
Posts (Atom)