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:


<module>
    <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"/>
</module>

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


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

[INFO]
 Loading inherited module 'com.vaadin.terminal.gwt.DefaultWidgetSet'
[INFO]
    Loading inherited module 'com.google.gwt.user.User'
[INFO]
       Loading inherited module 'com.google.gwt.canvas.Canvas'
[INFO]
          Loading inherited module 'com.google.gwt.canvas.dom.DOM'
[INFO]
             Loading inherited module 'com.google.gwt.dom.DOM'
[INFO]
                Loading inherited module 'com.google.gwt.user.UserAgent'
[INFO]
                   [ERROR]
 Element 'extend-property' beginning on line 27 contains unexpected attribute 'fallback-value'
[INFO]
                   [ERROR]
 Failure while parsing XML
[INFO]
 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?

Thanks,

Mike

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!

See
this thread
for more details.