如何在 Spring Roo 中回滚命令?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您无法回滚,但 roo 会保留日志 roo.log,因此您可以重复之前所做的一切。当然,您可以删除源中添加的内容,通常 Roo 会为您更新源
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
如果您输入命令,则无法使用 roo 命令行回滚(据我所知)
If you typed in a command you cannot rollback using roo command line(as far as I know)
您无法回滚,您可以使用
Spring Roo 控制台上的命令保留备份,或者更好 - 使用像 Mercurial 这样的版本控制系统。
You can't roll back, you can keep a backup using the command
on your Spring Roo console, or better yet -- use a version control system like Mercurial.