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/-/0uueOS-JNkwJ.
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.