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

Add undo command support

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.M3
    • Component/s: None
    • Labels:
      None

      Description

      Roo currently does not have a way for users to recover from a malformed command (e.g., forgetting to add --testAutomatically for an entity). The best practice is currently to directly modify the affected .java file and save, at which point Roo will sync up the changes. This works in most circumstances, but some more involved commands, it can be difficult for the user to correctly determine the file(s) that have been altered and make the necessary modifications to manually correct their mistakes.

      Since Roo has knowledge of the actions performed for each command, it would be useful to add support for an "undo" command that would unwind the last performed operation's actions. Something like:

      undo

      that would pop the last action off a stack of previous commands and revert the project to the state before that command was run.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              erikb Erik Brommers
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: