[
http://jira.codehaus.org/browse/MGWT-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208683#action_208683
]
Cedric Exbrayat commented on MGWT-154:
--------------------------------------
I worked on a patch, but ran into another error linked to
http://jira.codehaus.org/browse/MGWT-149. But I finally got it work ^^. And I
submit the patch here for both issues.
> GenerateAsync generate files with unused imports
> ------------------------------------------------
>
> Key: MGWT-154
> URL: http://jira.codehaus.org/browse/MGWT-154
> Project: Maven 2.x GWT Plugin
> Issue Type: Improvement
> Affects Versions: 1.1
> Reporter: Cedric Exbrayat
> Priority: Minor
>
> The goal generateAsync creates files unused imports.
> The file GenerateAsyncMojo.java contains the following code :
> String[] imports = javaSource.getImports();
> which will get all the service's imports, but the async service generated
> doesn't need them all (for exemple return types and exception aren't used).
> I can't figure an easy way to fix this minor issue, but it is annoying on
> large project.
--
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