Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Any chance for some undo functionality in an upcoming release?

 
rickcr
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to Spring Roo but really digging it.

One thing I wish it had was a way to undo something if you install a plugin. I recently used roo to install some third-party security/login/email type of functionality but then wanted to back it out and really couldn't that easily, without manually removing anything.

It would be cool if there was a way to run an undo command to help out.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rickcr wrote:I'm new to Spring Roo but really digging it.

One thing I wish it had was a way to undo something if you install a plugin. I recently used roo to install some third-party security/login/email type of functionality but then wanted to back it out and really couldn't that easily, without manually removing anything.

It would be cool if there was a way to run an undo command to help out.


Every command you do in Roo is saved to a .roo file in the root directory of you project. Any failed commands are commented out. So you can take that .roo file, remove the last command to add the plugin, then delete your directory/saving the .roo file and run the .roo file as a script and you get back to where you left off just before that last command. That is a form of undo already built into roo.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic