diff --git a/src/main/markdown/doc/latest/tutorial/index.md b/src/main/markdown/doc/latest/tutorial/index.md index 90ff6a551..e6fa6c5fe 100644 --- a/src/main/markdown/doc/latest/tutorial/index.md +++ b/src/main/markdown/doc/latest/tutorial/index.md @@ -37,7 +37,7 @@ You may also optionally do the following: ### Build a Sample GWT Application -1. [Build a Sample GWT Application](gettingstarted.html) +1. [Build a Sample GWT Application](gettingstarted-v2.html) * Get started with GWT by developing the StockWatcher application from scratch. You'll learn to create a GWT project, build the UI with GWT wigdets and panels, code the client-side functionality in the Java language, debug in development mode, apply CSS styles, compile the Java into JavaScript, and run the application in production mode. ### Client-Server Communication diff --git a/src/main/markdown/download.md b/src/main/markdown/download.md index 29bb3cd54..5bec02840 100644 --- a/src/main/markdown/download.md +++ b/src/main/markdown/download.md @@ -47,7 +47,7 @@ Download [Old versions]
- Next: Go to Getting Started with the GWT SDK + Next: Go to Getting Started with the GWT SDK
@@ -66,7 +66,7 @@ Download- Next: Go to Set up Eclipse, then Build a Sample App + Next: Go to Set up Eclipse, then Build a Sample App
-[Download the SDK](gettingstarted.html) and get a simple web application up and running.
+[Download the SDK](gettingstarted-v2.html) and get a simple web application up and running.
diff --git a/src/main/markdown/overview.md b/src/main/markdown/overview.md
index 910d82303..91a2f37f3 100644
--- a/src/main/markdown/overview.md
+++ b/src/main/markdown/overview.md
@@ -11,7 +11,7 @@ GWT is a development toolkit for building and optimizing complex browser-based a
The [GWT SDK](learnmore-sdk.html) contains the Java API libraries, compiler, and development server. It lets you write client-side applications in Java and deploy them as JavaScript.
-* [Get Started](gettingstarted.html)
+* [Get Started](gettingstarted-v2.html)
* [Tutorials](doc/latest/tutorial/index.html)
* [Developer Guide](doc/latest/DevGuide.html)
@@ -49,4 +49,4 @@ When you're ready to deploy, GWT compiles your Java source code into optimized,
## Ready to get started?
-[Download the SDK](gettingstarted.html) and get a simple web application up and running. From there, work through the fundamentals of GWT development with the in-depth [tutorials](doc/latest/tutorial/index.html).
+[Download the SDK](gettingstarted-v2.html) and get a simple web application up and running. From there, work through the fundamentals of GWT development with the in-depth [tutorials](doc/latest/tutorial/index.html).
diff --git a/src/main/markdown/usingintellij.md b/src/main/markdown/usingintellij.md
new file mode 100644
index 000000000..22d6afa7f
--- /dev/null
+++ b/src/main/markdown/usingintellij.md
@@ -0,0 +1,58 @@
+Using IntelliJ
+===
+
+GWT provides a set of tools that can simply be used with a
+text editor, the command line, and a browser. However, you may also use GWT with your
+favorite IDE. The Idea IntelliJ Ultimate Edition provides a GWT plugin, but the free Idea IntelliJ Community Edition
+is all you need. IntelliJ provides awesome Maven support, enabling the IDE to read the project classpath, and easily create run configurations for compiling and running a GWT project.
+
+* [Download IntelliJ](#intellij)
+* [Import a Web Application](#importing)
+* [Run locally in Super Dev Mode](#running)
+
+## Download IntelliJ
+
+If you do not already have IntelliJ, you may download it from the [IntelliJ Website](https://www.jetbrains.com/idea/download/).
+
+## Import a Web Application
+
+To import a Web Application - create with an archetype creator, select **File > New > Project from existing source**
+from the File menu. Select the root directory of the project you want to import and press `enter`.
+
+A dialog opens:
+
+
+
+Press `Create`. The import process starts and after a few seconds, the project window appears:
+
+
+
+## Run locally in Super Dev Mode
+
+To improve the development experience, you can set up two run configurations, one for the code server and another for the server.
+
+### Code Server Run Configuration
+
+Press `Edit configuration`, a popup appears. Now press `+` and select `Maven`.
+
+Enter `gwt:codeserver -pl mywebapp-client -am` in the field under `Run`:
+
+
+
+Now you have a run configuration, that starts the code server.
+
+Note: When running the code server from the command line, you need to run `gwt:codeserver -pl *-client -am`.
+This will not work inside a running configuration. Here you have to use the module name instead of '*'. Inside a run
+configuration, the command line looks like that: `gwt:codeserver -pl mywebapp-client -am`.
+
+### Server Run Configuration
+
+Press `Edit configuration`, a popup appears. Now press `+` and select `Maven`.
+
+Enter `mvn jetty:run -pl *-server -am -Denv=dev` in the field under run:
+
+
+
+Now, you have a run configuration, that starts the server.
+
+Note: you have to use the module name instead of '*'.
diff --git a/src/main/resources/main.tpl b/src/main/resources/main.tpl
index 535dc52b7..4fd96e20e 100644
--- a/src/main/resources/main.tpl
+++ b/src/main/resources/main.tpl
@@ -40,7 +40,7 @@