Announcement Announcement Module
Collapse
No announcement yet.
Roo shell requires {} in @RooEntity#finders element Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo shell requires {} in @RooEntity#finders element

    If I have a Roo-managed "Pizza" entity annotated thus:

    Code:
    @RooEntity
    and I add this "finders" element to it:

    Code:
    @RooEntity(finders = "findPizzasByName")
    then nothing happens in the Roo shell. It's only when I add the curly braces like this:

    Code:
    @RooEntity(finders = {"findPizzasByName"})
    that Roo creates the Pizza_Roo_Finder.aj file. Yet the compiler is happy without the braces, and all other annotations I've worked with are equally happy without the braces. Is this a bug/limitation in Roo's annotation parsing?

  • #2
    Hi Andrew, looks like a bug. Would you please log it in Jira for us. Thanks!

    Comment


    • #3
      Done

      Logged as ROO-618.

      Comment


      • #4
        Fixed yesterday...

        Comment

        Working...
        X