Jan 9th, 2013, 09:45 AM
remove entity from Web Scaffold
I have a project generated with Spring Roo 1.2.2
After generate all the jpa entities and web pages (using web mvc all --package ~.web) I need to remove some pages that not are needed in the final project (internal tables)
I have removed the annotation from the controller class and executed again web
, but nothing happends.
mvc all --package ~.web
What is the correct way to remove the web code (pages, menu ect...) associated to one specific entity?
Jan 29th, 2013, 02:01 PM
AFAIK, you'll have to do this by hand. While the web scaffolded files may mostly be Roo managed you may have also made your own edits to the generated views so Roo will not remove these by default.
I believe this is all in the documentation.