How can one rollback commands in Spring Roo?

别说谁变了你拦得住时间么 提交于 2019-12-11 04:29:30

问题


Ben Alex has a slideshow introducing Spring Roo.

On slide 8, there is the claim "Even if you make a mistake, Roo will rollback changes!"

I'm unable to find actual documentation of this feature. Does anyone know how this can be accomplished?


回答1:


If you typed in a command you cannot rollback using roo command line(as far as I know)




回答2:


You cannot roll back, but roo keeps a log, roo.log, so you can repeat everything you've done up until then. And of course, you can just remove what's been added from your source, and usually Roo will update the source for you




回答3:


You can't roll back, you can keep a backup using the command

perform backup

on your Spring Roo console, or better yet -- use a version control system like Mercurial.



来源:https://stackoverflow.com/questions/3149715/how-can-one-rollback-commands-in-spring-roo

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!