-
Jul 24th, 2012, 06:01 AM
#1
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules