I'm developing a framework where i can browse and add widgets
dynamically.
Problems I'm facing
* The widget developer use the framework for developing the widgets.
While compiling gwt dumps all the
widget and framework code into one directory. How will I differentiate
between the framework output
Split up the project into a core module, a widget library module, and
an application module. Make your widget library inherit the core
module, the application module then inherits both and possibly other
widget/extension libraries.
Look at GWT's User module:
http://code.google.com/p/google-web-to
Folke is right on the point.
You will create a module with its own gwt.xml. This gwt.xml will not
have entry point. You will distribute your module(widgets) as a
package. Who ever wants to use this widget lib will include your .jar
file and inherit the module(using inherit tag in his/her gwt.xml.
You will create a widget module with its own gwt.xml. This gwt.xml
will not have a entry point. You will distribute your module(widgets)
as a jar file. Simply jar everything in the base package. Who ever
wants to use this widget lib will include your .jar file and inherit
the module(using inherit