The plugin is too sensitive to changes in unrelated parts of a project,
rebuilding unnecessarily
------------------------------------------------------------------------------------------------
Key: MGWT-301
URL: https://jira.codehaus.org/browse/MGWT-301
Project: Maven 2.x GWT Plugin
Issue Type: Bug
Affects Versions: 2.2.0, 2.1.0, 2.3.0
Reporter: Craig Miskell
Attachments:
0001-Be-more-specific-about-which-files-need-to-have-chan.patch
If you have multiple .gwt.xml files in a project, changing one causes all of
them to be recompiled (which can take quite a while, even when limiting the
permutations). Also, if *any* java file being changed anywhere in the project
causes the plugin to recompile all of the GWT files, even if those .java files
were unrelated to the GWT project.
The attached patch fixes up the code that checks for recompiles being
necessary. It only checks the .gwt.xml for the module being compiled (rather
than all of them in the same project), and only looks in the <source>
directories listed (or implied) in the GWT Module being compiled, for .java and
.ui.xml files that have been modified, rather than the entire source structure
of the project
It has been tested quite a bit by a couple of OpenNMS developers, and has
worked well so far.
--
This message is automatically generated by JIRA.
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