Polymer use in Vaadin/GWT

Hi,
I’m use Vaadin and GWT (50%/50%) from Eclipse, now I see Polymer Elements and want try in my Project from Client Side (GWT) but I don’t untersand main arichitekture of this ? have someone keywords for me ?

ok, I’m try this put in my project but this don’t work…

  • im copy vaadin-gwt-polymer-elements-xxxx.jar in WEB-INF/lib
  • insert in my gwt.xml →

but now I get :
[ERROR]
Errors in ‘jar:file:/D:/=PROJEKTE=/workspace_smbar6/SmBar/WebContent/WEB-INF/lib/vaadin-gwt-polymer-elements-1.2.3.0.jar!/com/vaadin/polymer/neon/SlideLeftAnimationElement.java’
[ERROR]
Line 41: JsProperty cannot be resolved to a type
[ERROR]
Line 12: The import jsinterop cannot be resolved
[ERROR]
Line 29: JsOverlay cannot be resolved to a type

seems problem with jsInteropMode from maven !? but I’m dont use maven (vaadin use in eclipse ivy…)… what is jsInteropMode ? how I can turn on this ?

1.- you have to depend on gwt-2.8.0-SNAPSHOT
2.- you have to add a new dependency jsinterop-annotations-1.0.0-SNAPSHOT.jar

you can use as reference pom.xml of these projects:

https://github.com/manolo/gwt-polymer-todo-list/blob/master/widgets-todo-list/pom.xml
https://github.com/vaadin/gwt-polymer-elements/blob/master/demo/pom.xml

Hi Manuel,
thanks a lot !
I try two day but I get a error after next … I waiting for next release of GWT and Vaadin :slight_smile:

I look maybe I can use Polymer manuell not over jsinterop …