如何在 Spring Roo 中回滚命令?

发布于 2024-09-07 11:28:53 字数 232 浏览 6 评论 0原文

Ben Alex 有一个幻灯片介绍 Spring Roo。

在幻灯片 8 上,有这样的声明:“即使您犯了错误,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

唐婉 2024-09-14 11:28:53

您无法回滚,但 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

憧憬巴黎街头的黎明 2024-09-14 11:28:53

如果您输入命令,则无法使用 roo 命令行回滚(据我所知)

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

幸福不弃 2024-09-14 11:28:53

您无法回滚,您可以使用

perform backup

Spring Roo 控制台上的命令保留备份,或者更好 - 使用像 Mercurial 这样的版本控制系统。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文