Results 1 to 4 of 4

Thread: Roo shell requires {} in @RooEntity#finders element

  1. #1
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Question 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?
    Andrew Swan
    "Now is the EJB of our discontent made glorious Spring"

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Hi Andrew, looks like a bug. Would you please log it in Jira for us. Thanks!
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  3. #3
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Thumbs up Done

    Logged as ROO-618.
    Andrew Swan
    "Now is the EJB of our discontent made glorious Spring"

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Fixed yesterday...
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •