Open ahoehma opened 13 years ago
Hi,
The ToobarWindow depends on the CSSInject add-on, which requires you to compile the widgetset. That's why you're seeing the message.
I got same erro but do not understand why need compile? All others comps i just add in POM.xml and works fine.
Maybe none of the other add-on components that you use have any additional client side code in them, and because of that require no compilation?
But as I stated earlier, ToolbarWindow depends on the CSSInject add-on which contains client side (GWT) code, and because of that requires the widgetset compilation.
Sorry... now i got the point....
Im compiling CSSInject but i got dependency compiler error (WeeLayout). Do i need recompile all projects dependencies too?
That sounds strange. At least ToolbarWindow should not have a dependency to WeeLayout. Check your *.gwt.xml and see if it contains the WeeLayout widget set reference.
Are you using WeeLayout in your application?
The problem is using maven with dependency:
<dependency>
<groupId>org.vaadin.addons</groupId>
<artifactId>toolbarwindow</artifactId>
<version>0.1</version>
</dependency>
This f*\ widgetset Cssinject_addonWidgetset.gwt.xml putting these lines:
<inherits name="com.vaadin.addon.toolbar.widgetset.ToolbarWidgetset" />
<inherits name="org.vaadin.peter.contextmenu.ContextmenuWidgetset" />
I remove from POM and remove lines above and compile done but i can't enable POM lines to use ToolbarWindow.
Even stranger. I must admit I'm not very familiar with Maven, so can't comment on the intricacies of it.
But as you see from the CSSInject widget set definition, it does not depend on any other widget sets than the default Vaadin one: https://github.com/jounikoivuviita/CSSInject/blob/master/src/org/vaadin/cssinject/Cssinject_addonWidgetset.gwt.xml
Widgetset does not contain implementation for org.vaadin.cssinject.CSSInject. Check its @ClientWidget mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions. Unrendered UIDL ...
I added the following dependencies to my pom.xml:
class MyWindow extends ToolbarWindow { ... }
Any ideas?