You can do:
@GinModules(value = {AppMainGinModule.class, MenuGinModule.class},
properties = { "ginmodules" } )
public interface AppGinjector extends Ginjector {
}
In your Application.gwt.xml
<define-configuration-property name="ginmodules" is-multi-valued="true"/>
In your sub module, e.g. Admin.gwt.xml:
<set-configuration-property name="ginmodules"
value="com.app.admin.client.AdminGinModule" />
Now you don't have to touch your Ginjector anymore, as Ginmodules are
discovered based on the GWT modules you inherit.
-- J.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.