[jbosstools-issues] [JBoss JIRA] (JBIDE-11244) Auto-discover all the modules and add them to the configuration on GWT project import
Denis Golovin (JIRA)
jira-events at lists.jboss.org
Tue Apr 3 16:11:47 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681414#comment-12681414 ]
Denis Golovin commented on JBIDE-11244:
---------------------------------------
Now configurator executed after GPE ones because it attached to
{code}
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<versionRange>[2.3.0,)</versionRange>
<goals>
<goal>install</goal>
</goals>
{code}
Configurator checks:
# if it is enabled in preferences,
# if there is org.codehaus.mojo:gwt-maven-plugin declared in plugins,
# finds all modules using com.google.gwt.eclipse.core.modules.ModuleUtils.findAllModules(project),
# converts them to the list
# set EntryPointModules preference for project using com.google.gwt.eclipse.core.properties.GWTProjectProperties(project,moduleNames)
Which means It sets every found module as entry point, which is most likely not right in general. Another options I had:
# find them and ask developer to decide in popup dialog about Entry Point Module configuration
# take only first one in the list
# try to find out which modules are entry ones from modules found by com.google.gwt.eclipse.core.modules.ModuleUtils.findAllModules (if that possible)
> Auto-discover all the modules and add them to the configuration on GWT project import
> -------------------------------------------------------------------------------------
>
> Key: JBIDE-11244
> URL: https://issues.jboss.org/browse/JBIDE-11244
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: GWT, maven
> Reporter: Jonathan Fuerth
> Assignee: Denis Golovin
> Labels: new_and_noteworthy
> Fix For: 3.3.0.Beta3
>
> Attachments: EntryPointConfiguration.png, JBIDE-11244.patch, MavenIntegrationPrefsAfterPatch.png
>
>
> You can see why this would be desirable at 2:45 of the screencast at http://www.screencast.com/t/sFmXVlaBUvW
> !EntryPointConfiguration.png!
> Note that Errai Maven builds are configured to auto-discover modules too, so this would match existing users' expectations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list