Closed evpaassen closed 4 years ago
Will look into it tomorrow.
On Thu, 3 Sep 2020 at 7:26 pm, Erik van Paassen notifications@github.com wrote:
With version 1.1.4 of the plugin, I'm seeing the following errors when trying to build my project using it (with Gradle 6.6). I didn't set these properties, because I want to rely on the defaults. I'm not sure what causes this, it probably has something to do with the @Input annotations that have been added in (#32 https://github.com/jiakuan/gwt-gradle-plugin/issues/32 / 7c56b95 https://github.com/jiakuan/gwt-gradle-plugin/commit/7c56b95bc8e0b8e695bdbce416141131e452efe3) to address Gradle 6 deprecations?
(...)
Task :subproject-name:compileGwt FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Some problems were found with the configuration of task ':subproject-name:compileGwt' (type 'GwtCompile').
No value has been specified for property 'closureFormattedOutput'.
No value has been specified for property 'deploy'.
No value has been specified for property 'enforceStrictResources'.
No value has been specified for property 'incremental'.
No value has been specified for property 'incrementalCompileWarnings'.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 1m 11s
118 actionable tasks: 110 executed, 8 up-to-date
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jiakuan/gwt-gradle-plugin/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAECF5E66QEQYQYJZLXNDGDSD54PZANCNFSM4QUU4Z2Q .
I've fixed the issues and created a new version 1.1.5 https://plugins.gradle.org/plugin/org.wisepersist.gwt
I tested 1.1.5 with the examples as well as one of my projects, which worked.
Please try 1.1.5 and let me know if it works for you. Thanks.
I am seeing the following when running gwtSuperDev
on example-super-dev-mode
example:
(current source tag 1.1.5
(but with examples/build.gradle classpath changed to classpath "org.wisepersist:gwt-gradle-plugin:1.1.5"
from 1.1.5-SNAPSOT)). But maybe this hasn't been kept up to date as gradle jettyDraftWar
mentioned in example also fails.
-:super-dev-mode -$ gradle gwtSuperDev
> Task :example-super-dev-mode:gwtSuperDev FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':example-super-dev-mode:gwtSuperDev' (type 'GwtSuperDev').
> No value has been specified for property 'allowMissingSrc'.
> No value has been specified for property 'bindAddress'.
> No value has been specified for property 'closureFormattedOutput'.
> No value has been specified for property 'compileTest'.
> No value has been specified for property 'compileTestRecompiles'.
Good finding! Thanks for reporting this. I think it's something similar to what I've fixed in the morning. I will reopen this issue and fix this one.
I've fixed the issue, and now the example gwtSuperDev worked:
> Task :example-super-dev-mode:gwtSuperDev
Super Dev Mode starting up
workDir: /Users/jake/opensource/gwt-gradle-plugin/examples/super-dev-mode/build/gwt/work
2020-09-04 15:54:52.811:INFO::main: Logging initialized @1254ms
Loading Java files in org.wisepersist.gradle.plugins.gwt.example.ExampleDev.
Module setup completed in 2125 ms
2020-09-04 15:54:54.259:INFO:oejs.Server:main: jetty-9.2.14.v20151106
2020-09-04 15:54:54.287:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@75defbd2{/,null,AVAILABLE}
2020-09-04 15:54:54.310:INFO:oejs.ServerConnector:main: Started ServerConnector@622b91dc{HTTP/1.1}{127.0.0.1:9876}
2020-09-04 15:54:54.311:INFO:oejs.Server:main: Started @2754ms
The code server is ready at http://127.0.0.1:9876/
Please try the latest tag:
plugins {
id "org.wisepersist.gwt" version "1.1.6"
}
As the official Jetty gradle plugin is gone, 'jettyDraftWar' is commented in the example code.
This post (https://stackoverflow.com/a/52684027/746837) mentioned an alternative: https://plugins.gradle.org/plugin/org.gretty, but it will not be handled in this ticket. (I don't use the Jetty plugin)
Thanks very much for the speedy response. Super dev mode working now
Awesome work, thanks!
With version 1.1.4 of the plugin, I'm seeing the following errors when trying to build my project using it (with Gradle 6.6). I didn't set these properties, because I want to rely on the defaults. I'm not sure what causes this, it probably has something to do with the
@Input
annotations that have been added in (#32 / 7c56b95) to address Gradle 6 deprecations?