Multiple Errai modules in single Errai project
piotr.b Jan 30, 2014 5:00 PMHi,
Is it even possible in Errai to have many gwt (errai) modules?
I have two modules in my project: Portal and Upload.
During gwt-compilation of the latter this pop ups:
[INFO] Adding '1' new generated units
[INFO] Validating units:
[INFO] Errors in '/home/piotrb/workspace-media/portal/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl.java'
[INFO] See snapshot: /tmp/org.jboss.errai.ioc.client.BootstrapperImpl6905182164881964385.java
[INFO] Ignored 1 unit with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO] [ERROR] Errors in '/home/piotrb/workspace-media/portal/target/.generated/org/jboss/errai/ioc/client/BootstrapperImpl.java'
[INFO] [ERROR] Line 168: No source code is available for type com.media.portal.errai.ui.portal.AdminPage; did you forget to inherit a required module?
[INFO] [ERROR] Line 259: No source code is available for type com.media.portal.errai.ui.portal.Messages; did you forget to inherit a required module?
[INFO] [ERROR] Line 306: No source code is available for type com.media.portal.errai.ui.portal.NavBar; did you forget to inherit a required module?
[INFO] [ERROR] Line 314: No source code is available for type com.media.portal.errai.ui.portal.Stream; did you forget to inherit a required module?
[INFO] [ERROR] Line 315: No source code is available for type com.media.portal.errai.ui.portal.LoginForm; did you forget to inherit a required module?
[INFO] [ERROR] Line 360: No source code is available for type com.media.portal.errai.ui.portal.App; did you forget to inherit a required module?
[INFO] [ERROR] Line 485: No source code is available for type com.media.portal.errai.ui.portal.WelcomePage; did you forget to inherit a required module?
[INFO] See snapshot: /tmp/org.jboss.errai.ioc.client.BootstrapperImpl5429366040707418659.java
[INFO] [ERROR] Errors in 'org/jboss/errai/ioc/client/Container.java'
[INFO] [ERROR] Line 64: Rebind result 'org.jboss.errai.ioc.client.BootstrapperImpl' could not be found
[INFO] Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] Generating Marshallers Bootstrapper...
[INFO] 2014-01-30 22:33:15,264 INFO [com.google.gwt.core.ext.Generator] thread:[pool-3-thread-2] ** deposited marshaller class in : /home/piotrb/workspace-media/portal/src/main/webapp/WEB-INF/classes
[INFO] Computing all possible rebind results for 'org.jboss.errai.ioc.client.QualifierEqualityFactory'
[INFO] Rebinding org.jboss.errai.ioc.client.QualifierEqualityFactory
[INFO] Invoking generator org.jboss.errai.ioc.rebind.ioc.bootstrapper.QualifierEqualityFactoryGenerator
[INFO] Generating Extensions Bootstrapper...
[INFO] Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactoryImpl.Marshaller_for_com_media_portal_errai_shared_UserComplaint'
[INFO] Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactoryImpl.Marshaller_for_com_media_portal_errai_shared_UserComplaint
[INFO] Invoking generator org.jboss.errai.marshalling.rebind.MarshallerGenerator
[INFO] [ERROR] Generator 'org.jboss.errai.marshalling.rebind.MarshallerGenerator' threw an exception while rebinding 'org.jboss.errai.marshalling.client.api.MarshallerFactoryImpl.Marshaller_for_com_media_portal_errai_shared_UserComplaint'