-
Jan 13th, 2010, 04:25 AM
#1
Delete, Modify field, delete entity
Hi,
I think about having a command to delete field and entity from Roo shell. Also update field in an entity, is this possible ?
-
Jan 14th, 2010, 03:57 AM
#2
This is not possible from the Roo shell, but you can do it directly in your IDE or even from your normal shell. Just delete the .java source and if the Roo shell is running in the background it will take care of deleting all related .aj artifacts.
Same for changing or deleting fields. Just do it in your code and Roo will adjust all related artifacts accordingly (.aj, jspx, etc). Try it out for fun in a dummy project and you will see it working.
HTH
-
Sep 6th, 2011, 11:29 PM
#3
So would it be a good policy to save copies of log.roo? Then when an entity or class needed to be modified, modify the script, delete the original class, and then execute the roo script to recreate the class in it's new version?
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