thanks for the reply. I am at home now and cannot test the solution. But I try to google this afternoon and see the following links http://www.vogella.com/articles/GWTModules/article.html http://nicozan.wordpress.com/2011/03/17/gwt-adding-jar-dependency-to-our-gwt-project-maven-gwt-plugin/ they need use the following statement in *.gwt.xml respectively
> <inherits name='de.vogella.gwt.module.model'/> > <inherits name='com.wordpress.nicozan.Model'/> > is this required for my case? (although I try to add <inherits > name='hk.gov.ehr.service.tch.als.admin.viewer.alsadminviewerwebapp'/> > or <inherits name='hk.gov.ehr.service.tch. > > als.admin.viewer.AlsAdminViewerWebApp'/> as mention above and still fail. in fact, under what condition should I use <inherits .../> in *.gwt.xml? thanks in advance On Wednesday, September 5, 2012 8:41:57 PM UTC+8, Thomas Broyer wrote: > > > > On Wednesday, September 5, 2012 5:48:50 AM UTC+2, tong123123 wrote: >> >> >> >> [WARNING] File encoding has not been set, using platform encoding Cp1252, >>> i.e. build is platform dependent! >>> [INFO] Compiling 5 source files to >>> D:\workspace\als-admin-viewer-webapp-forTesting\target\www\WEB-INF\classes >>> [INFO] ------------------------------------------------------------- >>> [ERROR] COMPILATION ERROR : >>> [INFO] ------------------------------------------------------------- >>> [ERROR] >>> \workspace\als-admin-viewer-webapp-forTesting\src\main\java\hk\gov\ehr\service\tch\als\admin\viewerfortesting\client\AlsAdminViewerWebAppForTesting.java:[5,53] >>> >>> package hk.gov.ehr.service.tch.als.admin.viewer.client does not exist >>> [ERROR] >>> \workspace\als-admin-viewer-webapp-forTesting\src\main\java\hk\gov\ehr\service\tch\als\admin\viewerfortesting\client\AlsAdminViewerWebAppForTesting.java:[6,53] >>> >>> package hk.gov.ehr.service.tch.als.admin.viewer.client does not exist >>> [ERROR] >>> \workspace\als-admin-viewer-webapp-forTesting\src\main\java\hk\gov\ehr\service\tch\als\admin\viewerfortesting\client\AlsAdminViewerWebAppForTesting.java:[7,53] >>> >>> package hk.gov.ehr.service.tch.als.admin.viewer.client does not exist >>> [ERROR] >>> \workspace\als-admin-viewer-webapp-forTesting\src\main\java\hk\gov\ehr\service\tch\als\admin\viewerfortesting\client\AlsAdminViewerWebAppForTesting.java:[8,53] >>> >>> package hk.gov.ehr.service.tch.als.admin.viewer.client does not exist >>> [ERROR] >>> \workspace\als-admin-viewer-webapp-forTesting\src\main\java\hk\gov\ehr\service\tch\als\admin\viewerfortesting\client\AlsAdminViewerWebAppForTesting.java:[9,53] >>> >>> package hk.gov.ehr.service.tch.als.admin.viewer.client does not exist >>> [ERROR] >>> \workspace\als-admin-viewer-webapp-forTesting\src\main\java\hk\gov\ehr\service\tch\als\admin\viewerfortesting\client\AlsAdminViewerWebAppForTesting.java:[10,53] >>> >>> package hk.gov.ehr.service.tch.als.admin.viewer.shared does not exist >>> >> >> > This error comes from the maven-compiler-plugin, nothing to do with GWT. > You should depend on both the "normal" jar and the source-jar: > <dependency> > <groupId>hk.gov.ehr.service.tch.als</groupId> > <artifactId>als-admin-viewer-webapp</artifactId> > <version>1.0.0</version> > </dependency> > <dependency> > <groupId>hk.gov.ehr.service.tch.als</groupId> > <artifactId>als-admin-viewer-webapp</artifactId> > <version>1.0.0</version> > <classifier>sources</classifier> > </dependency> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Ki9Mx22ZwWcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
