summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorelmot <elmot@vaadin.com>2016-07-07 10:58:56 +0300
committerelmot <elmot@vaadin.com>2016-07-07 14:42:49 +0300
commitca9afcdf475a609fb813f68c92755a786a332699 (patch)
tree8a81ea7b436c9f18774471297238b9137d5d7265 /README.md
parent38256a873cb92871de6f9a19288066a361a69954 (diff)
downloadvaadin-framework-ca9afcdf475a609fb813f68c92755a786a332699.tar.gz
vaadin-framework-ca9afcdf475a609fb813f68c92755a786a332699.zip
Add DevelopmentServerLauncher configuration for IDEA
Change-Id: If0ea592add451b7c730147a6f2b6a90ee4f550dd
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
index 70d4b46ccb..22a2f6fc5d 100644
--- a/README.md
+++ b/README.md
@@ -83,3 +83,28 @@ Running a UI test
1. Open *Maven Projects*
1. Open *vaadin-uitest* -> *Plugins* -> *jetty* -> *jetty:run-exploded*
1. Open URL *http://localhost:8080/run/<testUI>*
+
+Running a Development Server
+------
+1. Open *File* -> *New* -> *Module...*
+ 1. Choose type *Java* and click *Next*
+ 1. Type in name <code>uitest-run</code> and set *Content Root* and *Module File Location* to <code>&lt;your project location&gt;/uitest-run</code>
+ 1. Click *Finish*
+1. Open *File* -> *Project Structure...*
+ 1. Choose <code>uitest-run</code> module
+ 1. Open *Dependencies* tab
+ 1. Click *+* -> *Module Dependency* -> *vaadin-uitest* -> *OK*
+ 1. Click *+* -> *Library...* -> *New Library...* -> *From Maven*
+ 1. Type in <code>org.eclipse.jetty.aggregate:jetty-all:9.4.0.M0</code> and press *Tab*
+ 1. Wait a little while Idea is trying to download the library, then click *OK*
+ 1. Close *Project Structure* dialog by pressing *OK*
+1. Open *Run* -> *Edit Configurations...* then create a new configuration of type *Application* named <code>DevelopmentServerLauncher</code>
+ 1. Set *Main class* to <code>com.vaadin.launcher.DevelopmentServerLauncher</code>
+ 1. Set *Single instance only* checkmark
+ 1. Set *VM options* to <code>-ea</code>
+ 1. Set *Use classpath options* to <code>uitest-run</code>
+ 1. Set *Working directory* to <code>uitest</code>
+ 1. Close *Run/Debug Configurations* dialog by pressing *OK*
+
+The run configuration is ready.
+