-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change default dev mode server to static implementation #10057
Milestone
Comments
This was referenced Dec 12, 2024
I can see |
niloc132
added a commit
to niloc132/gwt
that referenced
this issue
Feb 26, 2025
The default is now to ask a service loader for a ServletContainerLauncher if there is a single entry available, and failing that to use the static server - no servlets will be available. ServletContainerLaunchers registered as a provider for the service loader must provide a name that matches a specific regex. Those names may now also be used when specifying a particular server name rather than the fully qualified class name. The JettyLauncher will be kept for at least another version to ensure that projects can easily migrate to newer versions. Fixes gwtproject#10057
niloc132
added a commit
to niloc132/gwt
that referenced
this issue
Feb 26, 2025
The default is now to ask a service loader for a ServletContainerLauncher if there is a single entry available, and failing that to use the static server - no servlets will be available. ServletContainerLaunchers registered as a provider for the service loader must provide a name that matches a specific regex. Those names may now also be used when specifying a particular server name rather than the fully qualified class name. The JettyLauncher will be kept for at least another version to ensure that projects can easily migrate to newer versions. This patch also moves `setBaseRequestLogLevel` to ServletContainerLauncher so other implementations can use it to log appropriately based on how they were started. Fixes gwtproject#10057
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Starting in GWT 2.11 (see #9863 and #9866) a new dev mode server implementation was introduced -
com.google.gwt.dev.shell.StaticResourceServer
. At the same time, the JettyLauncher implementation was deprecated, and logs a warning to the console when used.This ticket proposes that in GWT 2.13 the default be changed to StaticResourceServer, with the JettyLauncher left for at least one more version before being removed.
As an alternative, we could remove the default server entirely and change to
-noserver
by default, so that any user specifying-server
needs to also pick the server implementation they want to use.The text was updated successfully, but these errors were encountered: