[
http://jira.codehaus.org/browse/MGWT-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208505#action_208505
]
nicolas de loof commented on MGWT-154:
--------------------------------------
Hey, don't get nervous :p
I agree generated code should be as clear/documented as possible, but it should
not be under control of QA tools. I allready go request to change code style to
conform to QA tools in generated code. Even if default configuration checks the
generated-sources/* folders, it's not a good practice.
Anyway, if you find any simple way to resolve this issue you're welcome
> 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