From 0eca1f730f8c325415a4e63f2fb2a445f69620a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 14 Mar 2017 21:55:12 +0100 Subject: java : vaadin : add target run using jetty --- java/vaadin/build.xml | 32 +++++++++++++++++++++++++++++ java/vaadin/ivy.xml | 2 ++ java/vaadin/ivysettings.xml | 4 ++-- java/vaadin/src/run/java/ch/asynk/Main.java | 11 ++++++++++ 4 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 java/vaadin/src/run/java/ch/asynk/Main.java diff --git a/java/vaadin/build.xml b/java/vaadin/build.xml index f7024ce..f0f297e 100644 --- a/java/vaadin/build.xml +++ b/java/vaadin/build.xml @@ -8,6 +8,7 @@ + @@ -18,6 +19,7 @@ + @@ -33,6 +35,9 @@ + + + @@ -40,6 +45,7 @@ + @@ -55,6 +61,7 @@ + @@ -146,6 +153,31 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/java/vaadin/ivy.xml b/java/vaadin/ivy.xml index 57d71d3..ad13fce 100644 --- a/java/vaadin/ivy.xml +++ b/java/vaadin/ivy.xml @@ -11,6 +11,7 @@ + @@ -20,5 +21,6 @@ + diff --git a/java/vaadin/ivysettings.xml b/java/vaadin/ivysettings.xml index e5fc415..86ff132 100644 --- a/java/vaadin/ivysettings.xml +++ b/java/vaadin/ivysettings.xml @@ -9,8 +9,8 @@ - - + diff --git a/java/vaadin/src/run/java/ch/asynk/Main.java b/java/vaadin/src/run/java/ch/asynk/Main.java new file mode 100644 index 0000000..5686ecc --- /dev/null +++ b/java/vaadin/src/run/java/ch/asynk/Main.java @@ -0,0 +1,11 @@ +package ch.asynk; + +import org.vaadin.jetty.VaadinJettyServer; + +public class Main +{ + public static void main(String[] args) throws Exception + { + new VaadinJettyServer(8080, HelloWorld.class, "./src/main/WebContent/").start(); + } +} -- cgit v1.1-2-g2b99