[
http://jira.codehaus.org/browse/MGWT-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=174344#action_174344
]
Stefan Hübner edited comment on MGWT-55 at 4/27/09 9:32 AM:
------------------------------------------------------------
Nicolas, yes our project is setup like you described above. Project "Y" is
configured the following way:
{noformat}
<build>
<resources>
<resource>
<directory>src/main/java/</directory>
</resource>
<resource>
<directory>src/main/resources/</directory>
</resource>
....
{noformat}
Does this meet your suggestion that "??project Y should be set to include
sources in the JAR as any GWT-library is required to do??"? If not, how is
project "Y" to be set up?
The projects are typically build in reactor mode, but {{gwt:compile}} just
skips compilation since it doesn't notice updates in "Y". Anyways, I'll
double-check the original behaviour.
was (Author: stefanhuebner):
Nicolas, yes our project is setup like you described above. Project "Y" is
configured the following way:
{noformat}
<build>
<resources>
<resource>
<directory>src/main/java/</directory>
</resource>
<resource>
<directory>src/main/resources/</directory>
</resource>
....
{noformat}
Does this meet your suggestion that "??project Y should be set to include
sources in the JAR as any GWT-library is required to do??"? If not, how is
project "Y" to be set up?
The projects are typically build in reactor mode, but {{gwt:compile}} just
skips compilation since it doesn't notice updates in "Y".
> Consider (re)sourcesOnPath when checking for required compilation
> -----------------------------------------------------------------
>
> Key: MGWT-55
> URL: http://jira.codehaus.org/browse/MGWT-55
> Project: Maven 2.x GWT Plugin
> Issue Type: Improvement
> Affects Versions: 1.1
> Reporter: Stefan Hübner
> Priority: Minor
> Attachments: MGWT.patch
>
>
> In our multi-module project CompileMojo doesn't notice changed sources, if
> those sources reside in a module which is a sibbling to the WAR module. So
> the application won't get recompiled. This is because
> {{CompileMojo#compilationRequired()}} doesn't respect {{sourcesOnPath}} and
> {{resourcesOnPath}}.
> Attached is patch to fix this behaviour. It has been tested on our projects.
> Cheers!
> Stefan
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email