[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-1207) Code formatter does not run if you re-generate from existing entities

Max Andersen (JIRA) jira-events at lists.jboss.org
Mon Oct 29 10:23:05 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-1207?page=all ]

Max Andersen closed JBIDE-1207.
-------------------------------

    Resolution: Done

ok - this was a bug introduced by the fix for getting the formatting.

the formatter was running before we refreshed eclipse knowledge about the generated files so it was actually formatting the old files not the new ones....

I moved refreshing up before the formatting and now it works for me.



> Code formatter does not run if you re-generate from existing entities
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-1207
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1207
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 2.0.0.CR1
>            Reporter: Gavin King
>         Assigned To: Max Andersen
>             Fix For: 2.0.0.CR1
>
>
> OK, the real problem with the code formatting turned out to be when you re-generate over the top of existing generated classes.
> If you delete the existing classes first, the formatter *does* run.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list