From 77653bb945a5ae8adfed549fd4c5d908f5a514ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 17 Apr 2017 21:24:36 +0200 Subject: java : vaadin : add widgetset compilation --- java/vaadin/build.xml | 33 +++++++++++++++++++++- java/vaadin/ivy.xml | 4 ++- .../VAADIN/widgetsets/mywidgetset.gwt.xml | 3 ++ .../src/main/java/ch/asynk/HelloWorldUI.java | 2 ++ 4 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 java/vaadin/src/main/WebContent/VAADIN/widgetsets/mywidgetset.gwt.xml diff --git a/java/vaadin/build.xml b/java/vaadin/build.xml index 712034f..bcac04b 100644 --- a/java/vaadin/build.xml +++ b/java/vaadin/build.xml @@ -46,6 +46,7 @@ + @@ -97,6 +98,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -121,7 +149,7 @@ - + @@ -141,6 +169,7 @@ + @@ -180,6 +209,7 @@ + @@ -209,6 +239,7 @@ + diff --git a/java/vaadin/ivy.xml b/java/vaadin/ivy.xml index 81ca70d..eef7a32 100644 --- a/java/vaadin/ivy.xml +++ b/java/vaadin/ivy.xml @@ -10,7 +10,8 @@ - + + @@ -18,6 +19,7 @@ + diff --git a/java/vaadin/src/main/WebContent/VAADIN/widgetsets/mywidgetset.gwt.xml b/java/vaadin/src/main/WebContent/VAADIN/widgetsets/mywidgetset.gwt.xml new file mode 100644 index 0000000..3c11cb9 --- /dev/null +++ b/java/vaadin/src/main/WebContent/VAADIN/widgetsets/mywidgetset.gwt.xml @@ -0,0 +1,3 @@ + + + diff --git a/java/vaadin/src/main/java/ch/asynk/HelloWorldUI.java b/java/vaadin/src/main/java/ch/asynk/HelloWorldUI.java index be65387..bcfa571 100644 --- a/java/vaadin/src/main/java/ch/asynk/HelloWorldUI.java +++ b/java/vaadin/src/main/java/ch/asynk/HelloWorldUI.java @@ -3,6 +3,7 @@ package ch.asynk; import com.vaadin.annotations.PreserveOnRefresh; import com.vaadin.annotations.Theme; import com.vaadin.annotations.Title; +import com.vaadin.annotations.Widgetset; import com.vaadin.navigator.Navigator; import com.vaadin.server.VaadinRequest; import com.vaadin.ui.Button; @@ -24,6 +25,7 @@ import ch.asynk.ui.ViewMain; @PreserveOnRefresh @Theme("mytheme") @Title("Hello!!") +@Widgetset("mywidgetset") public class HelloWorldUI extends UI { private static final long serialVersionUID = 1L; -- cgit v1.1-2-g2b99