Skip to content

Commit

Permalink
Deprecate webAppCreator, encourage using the getting started guide (g…
Browse files Browse the repository at this point in the history
…wtproject#9883)

This encourages a few bad practices that we'd like to avoid, most
notably mixing server and client classpaths, and encouraging using
DevMode's built-in server as an application server.

Partial gwtproject#9863
  • Loading branch information
niloc132 authored Dec 29, 2023
1 parent 642410e commit 42c1e8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user/src/com/google/gwt/user/tools/WebAppCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ private abstract static class Procrastinator {
}

public static void main(String[] args) {
System.err.println("WebAppCreator is deprecated - please refer to " +
"https://www.gwtproject.org/gettingstarted.html for other ways to create a new " +
"application with GWT, including with Maven archetypes. These encourage better " +
"separation of classpaths, and do not need IDE-specific setup.");
System.exit(doMain(args) ? 0 : 1);
}

Expand Down

0 comments on commit 42c1e8a

Please sign in to comment.