Create a widgetset in the src/main/resources folder under an arbitrary package (x.y for example). Name it AppWidgetSet.gwt.xml
for example.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.vaadin.DefaultWidgetSet" />
<set-property name="user.agent" value="safari"/>
<inherits name="org.vaadin.easyuploads.Widgetset" />
</module>
Annotate your custom UI with the following:
@Widgetset("x.y.AppWidgetSet")
The "inherits" part is autogenerated by the mvn vaadin:update-widgetset
goal based on the dependencies of your pom. Since I included the multifileupload here you don't need to call it this time.
Do a mvn vaadin:compile
.
Refresh your project and your server.