I've project where I'm using different then default "path" module entry to have: code.google.gwt.project.ui package without using "client" package which is to be used in distributed jar.
Project contains gui widgets.
When I tried to use "GWT>Composite" action from Toolbar Wizard gives me an error "GWT widgets can be used only in client package of some GWT module".
I have module:
- Code: Select all
<module>
<inherits name="com.google.gwt.user.User"/>
<stylesheet src="iuilibrary.css"/>
<source path="ui"/>
</module>
which is perfectly valid and project compiles to .jar and can be perfectly well referenced from other GWT based eclipse project (widgets are taken, etc).
I wonder if that is an issue with GWT Designer itself or not. I'm able to workaround that simply by creating new widget on that source package by hand and then opening it with Designer views (which works fine),
regards,
Peter