Announcement Announcement Module
Collapse
No announcement yet.
Spring Roo shell deletes my Roo_Controller.aj file after push in Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Roo shell deletes my Roo_Controller.aj file after push in

    After pushing in a couple of methods, the roo shell will delete my aj file.

    Just copying any of these methods to the main the Controller java file would cause this:

    Code:
    Deleted backoffice|SRC_MAIN_JAVA/xxx/actions/TicketController_Roo_Controller.aj - empty
    I'm using a multimodule project is that makes a difference. My controllers are in a module, my entities in another module.

    What could be causing this?

    Thanks

  • #2
    Yes the .aj files will be deleted once you push in all methods in aj files to java files.
    No need to worry.. if you add any methods using roo then automatically roo will create .aj files with required methods

    Comment


    • #3
      I was able to boil down the issue to importing the entity directly vs importing it with a wildcard. I posted a bug: jira.springsource.org/browse/ROO-3456

      Comment

      Working...
      X