Announcement Announcement Module
No announcement yet.
Roo 1.0.1 generating fully-qualified names Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo 1.0.1 generating fully-qualified names

    I've just switched to doing some prototyping in 1.0.1, and have noticed that rather than using imports to qualify the names of field types and annotation types, it has started to fully-qualify them all.

    Given that this is not typically how java looks, particularly entities, is there any way to go back to imports? I'd rather have neat, clean-looking entities.

  • #2
    Known issue in 1.0.1?

    I think this is already logged as


    • #3
      Yes this was a regression introduced by one of Ben's changes. It should be fixed with the next release.


      • #4
        Ah, perfect. Didn't spot that. Thanks.


        • #5
          Yeah, missed that one. But imports in the ITDs still work nicely. :-)

          We'll get a 1.0.2 out mid-February that will resolve it. In the meantime you can freely edit the .java files to make the imports as you like them. Roo never changes your .java files unless you ask it to via a shell command, and it will understand and retain any imports you have used.

          Sorry for the inconvenience in the meantime.