Widget compilation problems with Vaadin 6.6.0.pre1

Hi all,

I’ve just updated my pom.xml to use Vaadin 6.6.0.pre1. At the same time, I upgraded gwt-user to 2.3.0.m1 as stated in Vaadin trac at http://dev.vaadin.com/ticket/6693.
The gwt-maven-plugin is updated to 2.2.0 as well, just in case. Also, I added the validation-api jars to the classpath.

My *.gwt.xml file looks as follows:

    <inherits name="com.vaadin.terminal.gwt.DefaultWidgetSet" />
    <inherits name="org.vaadin.vaadinvisualizations.widgetset.VaadinvisualizationApplicationWidgetset" />
    <inherits name="com.github.wolfie.refresher.RefresherApplicationWidgetset" />

        <!-- FIXME [Mike Nikles]
: Remove this for production -->
        <set-property name="user.agent" value="safari"/>

When I compile my widgetset, I get the following exception:

 --- gwt-maven-plugin:2.2.0:compile (default) @ client ---
 auto discovered modules [com.company.client.widgetset.MyWidgetSet]

 Loading inherited module 'com.vaadin.terminal.gwt.DefaultWidgetSet'
    Loading inherited module 'com.google.gwt.user.User'
       Loading inherited module 'com.google.gwt.canvas.Canvas'
          Loading inherited module 'com.google.gwt.canvas.dom.DOM'
             Loading inherited module 'com.google.gwt.dom.DOM'
                Loading inherited module 'com.google.gwt.user.UserAgent'
 Element 'extend-property' beginning on line 27 contains unexpected attribute 'fallback-value'
 Failure while parsing XML
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)

Has anybody else seen that or been able to upgrade to the 6.6.0.pre1 release?



Maven GWT Plugin 2.2.0 most likely adds dependencies to GWT 2.2.0, possibly causing this. You could try to manually set the dependencies for the Maven GWT Plugin as described at http://mojo.codehaus.org/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html

Excellent, that’s all I had to do! Thanks!

this thread
for more details.