until now I did use netbeans with some custom stuff to build the vaadin 6.x applications.
Now for the first vaadin 7 application I grabbed the 7.1.0beta1 version and used the maven build process for vaadin.
For a simple vaadin 7 app i receive a war with 35MB in size, not realy that usefull to deploy to remote servers…
The WEB-INF folder has 11MB in size, this is OK when looking at the included jar libraries.
The VAADIN folder has 126MB in size, which is too much
Inside I see
gwt-unitCache with 92MB included in the WAR file, no need to include this one
widgetsets\WEB-INF\deploy with 26MB, which also is not needed
After removing them from the WAR file, the WAR size is reduced down to 12MB instead of the original 35MB…
Do I have a problem with my maven setup, or is the maven build process not intended to build productions ready war files ?
Hi,
I’m very new to Vaadin, but today with my first tries of making example webservice working - I noticed the same strange thing as author of this topic - unnecessary files in war.
I’m using newest Vaadin 7.1.6 with Intellij Maven project - I’m just following the tutorial from Vaadin Book: I created simple app from vaadin-archetype-application, and compiled war is about 33MB!
I see this ticket mentioned above is a bit of dead for some time.
So how can I fix this problem, or how can I escalate the problem for the Vaadin team?