Problem with GWT after upgrading to Vaadin 6.2.x

Hi guys!

I have a custom widgetset (with one custom widget) in my application. It worked with Vaadin 6.1.x but now I don’t seem to get it working with Vaadin 6.2.x

I’ve altered the xml’s and codes as suggested in The Book and compared my code with for example the SuperImmediateTextField in incubator. So the problem must be with the gwt compiling.

It seems that my ant script first compiles the java classes and then runs the gwt compiler (with compiled widget classes in the classpath), but I still get the “Widgetset does not contain implementation for …” error.

Any tips where I should go digging deeper? What is the file that contains the component mappings after compiling?

:frowning:

And btw, I’m not using Eclipse so don’t bother suggesting to use the Vaadin plugins there :slight_smile:

The GWT compiler doesn’t need the Java compiled .class files, it needs the original .java source files. Make sure those are on the classpath for the GWT compiler.

Ok, that might be the solution. Got to try it.

But

doesn’t that quite clearly refer to compiled classes and not java files?

Just checked the classpath and it has:

  • gwt-dev-windows.jar
  • widget sources
  • compiled widget classes
  • vaadin.jar
  • gwt-user.jar

Strictly you need the wiget sources and the compiled server side classes. So using that classpath you should be fine. Have you updated your ant script so it runs the WidgetSetBuilder? See

http://dev.vaadin.com/browser/versions/6.2/build/package/build-widgetset.xml?format=txt