I have called the source:jar-no-fork goal in my *-core.pom.xml project (and
als-admin-viewer-core-1.0.0-sources.jar is generated), and I already add
the dependency on the webapps pom.xml
<dependency>
<groupId>hk.gov.ehr.service.tch.als</groupId>
<artifactId>als-admin-viewer-core</artifactId>
<version>1.0.0</version>
<classifier>sources</classifier>
</dependency>
in both the <dependencies> section and
<build>...<plugin>..<artifactId>gwt-maven-plugin</artifactId>
<dependencies> section, but now the error is
> Fail to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project als-admin-viewer-webapp:Compilation failure:
> Compilation failure:
> \worksapce\als-admin-viewer-webap\src\main\java\hk\gov\ehr\service\tch\als\admin\viewer\client\SearchResultPane..java:[43,51]
> cannot find symbol
> symbol: class LogSearchCriteria
>
The LogSearchCriteria class is in core project, and the
SearchResultPanel[43, 51] is the import statement of LogSearchCriteria in
WebApp GWT module, SearchResultPanel Class.
what is the cause of this problem??
On Mon, May 21, 2012 at 6:43 PM, Thomas Broyer <[email protected]> wrote:
>
>
> On Monday, May 21, 2012 12:31:57 PM UTC+2, tong123123 wrote:
>>
>> oh, the pom.xml in the link is quite complex, but in my
>> als-admin-viewer-core pom.xml, I already write
>>
>>> <package>jar</package>
>>>
>> and I found under als-admin-viewer-core/target, the
>> als-admin-viewer-core-1.0.0.**jar is already created, so what I miss is
>> adding als-admin-viewer-core-1.0.0.**jar as a dependency in
>> als-admin-viewer-webapp.pom.**xml?
>>
>
> That's already the case (from what you said earlier). You need to call the
> source:jar-no-fork goal in your *-core project (it'll generate a an
> *-core-1.0.0-sources.jar in target) and add a dependency on that sources
> JAR (in addition to the "binary" JAR you already have: one is for javac
> –and Eclipse–, the other for GWT):
> <dependency>
> <groupId>hk.gov.ehr.service.**tch.als</groupId>
> <artifactId>als-admin-viewer-**core</artifactId>
> <version>1.0.0</version>
> </dependency>
> <dependency>
> <groupId>hk.gov.ehr.service.**tch.als</groupId>
> <artifactId>als-admin-viewer-**core</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/-/cBHTSC__TjMJ.
>
> 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.
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.