You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Misha Koshelev (JIRA)" <ji...@codehaus.org> on 2010/10/13 05:32:34 UTC

[jira] Issue Comment Edited: (MECLIPSE-272) Add code formatting support using the Eclipse Code Formatter

    [ http://jira.codehaus.org/browse/MECLIPSE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239382#action_239382 ] 

Misha Koshelev edited comment on MECLIPSE-272 at 10/12/10 10:31 PM:
--------------------------------------------------------------------

This functionality is already available in a separate plug-in hosted on Google code fyi:
http://code.google.com/p/maven-java-formatter-plugin/

Thank you
Misha

      was (Author: misha680):
    This functionality is already available in a separate plug-in hosted on Google code fyi:
  
> Add code formatting support using the Eclipse Code Formatter
> ------------------------------------------------------------
>
>                 Key: MECLIPSE-272
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-272
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: New Feature
>         Environment: Eclipse 3.2
>            Reporter: Cédric Vidal
>            Priority: Minor
>
> Since Eclipse 3.2, it is possible to format a batch of code using the Eclipse Code Formatter, it would be interesting to add a eclipse:format goal to the Maven 2 Eclipse Plugin which would leverage that facility. The command line usage of the Eclipse Code Formatter is described here:
> http://www.peterfriese.de/index.php/2007/05/28/formatting-your-code-using-the-eclipse-code-formatter/
> A possible configuration would be:
> <configuration>
>   <config>path/eclipse/code/formatter/config/file</config>
>   <includes>
>     <include></include>
>   </includes>
> </configuration>
> Thanx to that plugin, the code of a project could be automatically formatted upon packaging.
> Regards,
> Cédric

-- 
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