Announcement Announcement Module
Collapse
No announcement yet.
java type declaration from the Roo shell Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java type declaration from the Roo shell

    Hi,
    as mentioned in the title my question is how to declare any java type in the Roo shell. form instance If I want an array list of String I would type :
    roo> field other --fieldName myList --type java.util.ArrayList<String>

    but I ' have the following error :

    java.lang.IllegalArgumentException: Failed to convert 'java.util.ArrayList<String>' to type JavaType for option 'type'
    Illegal name 'java.util.ArrayList<String>' (illegal character)

    PS : the command -- roo> field other --fieldName myList --type java.util.ArrayList -- without precising the <String> is execeuted correctly but I want to be able to declare any java type precising the exact declaration.
Working...
X