hi all…
Is it possible that can we compile two widgets in single application with single build-widgetset.xml … or any other possiblity…
Hi!
Sure you can. Just make sure that they both are in the same widgetset and use that widgetset for your application.
The core of Vaadin itself has all core components in the same widgetset in the same project.
HTH,
/Jonatan
I assume Jonatan answered the question you meant to ask (multiple widgets, including ones from add-ons, in a single widgetset), but for the sake of completeness:
It is also possible to have multiple widgetsets in a project, and compile all of them by the same build script. The Vaadin core project also does this, as different widgetsets are used for some demos etc. However, you normally would not want to do that in an application project, as the application (or multiple applications on the same page) can only use one widgetset. Instead, build a single widgetset with all the widgets you need as Jonatan suggested: “inherit” all the relevant add-on GWT modules in your own widgetset GWT module (.gwt.xml).