Search code examples
spring-roo

I want to disable Roo scaffolding


Because I have manually tuned my entities and controllers and view, I would like roo to change none of them. Nevertheless I would like roo to keep on scaffolding all new entities. How could I do that


Solution

  • You can modify the @RooWebScaffold annotation in your entity by adding update=false attribute for it.

    @RooWebScaffold(path = "<yourpath>", formBackingObject = <YourClass>.class, update=false)
    

    This tells Roo not to scaffold and update views for the generated entity.

    Cheers!!!