Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3351

Roo reset all controller .java files (deleting all handwritten code) after command "web mvc all --package com.xyz.package

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.2.3.RELEASE
    • None
    • @ ROO SHELL, WEB MVC
    • Windows 7, Roo command line.

    Description

      I executed following command.

      >web mvc all --package com.softrism.tortlets.web

      It reset all my java controller files (yes, java not aj) as if I did not have any custom code ! Attached snapshot of my IDE. Good that i have checked in everything repository. But still had lot of unchecked code !! Also, it deleted all my json controller ITDs. I think it should have kept those intact as well.

      Couple of things I had done before executing command so that problem might help reproducing.
      1- Had deleted RooToString annotiation from all entities.
      2 - Had run "web json all" command. (to get restful services)
      3- Had added custom logic for json based methods (those also disappeared)
      4- Had changed some update.jspx(reset with z="?") so that Roo regenerates those entries.( it was not generating as expected, so i tried the above command).
      5- Had setup rest-shell to test json api and was using with the server.

      Attachments

        Activity

          People

            stewarta Alan Stewart
            sudhirkd Sudhir Dharmadhikari
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: