Announcement Announcement Module
No announcement yet.
Roo modifying my entity classes (1.2.1) Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo modifying my entity classes (1.2.1)

    Is there a way to make Roo stop modifying my entity classes?

    Let's say I add new static method and I format code to my liking, add few commentaries to it, etc. Some time later I get message in Roo shell telling me that my entity class was modified. And it really is - commentaries all removed, all blank lines that I've made for easier reading also removed. Multiline statements all stuffed into single gigantic line..

    I'm not talking about Roo generated/maintaned classes/aspects this is entity class where I'm supposed to write my own code (generated with dbre). Code still works, of course, since this is basically same code but it is quite annoying to have all entity classes formatted in what is really unreadable state.

    Browsing through documentation and searching through web I coulnd't find any hint of this behaviour. Is this normal functionality? And if it is can I somehow disable it?

    Thank you.