OpenCMS制作实践
我对 OpenCMS 非常陌生,我团队中的其他人也是如此。
我们刚刚开始一个新项目,我们正在使用 OpenCMS。现在,我们在每个开发人员的计算机上运行一个 OpenCMS 实例,以及一个生产服务器。我们使用 Eclipse/CVS 进行源代码控制,但将更改传播到不同的计算机并不会传播 OpenCMS 为每个文件存储的元数据(显然)。
我的同事正在寻找一个脚本解决方案来导入/导出元数据。当网站上线时,我们将每晚将内容文件提交到源代码管理中,以获取营销部门所做的任何更改。
这对我来说似乎是倒退的。我们每个人的机器上都应该安装 OpenCMS 吗?如果是这样,其他人如何解决将 OpenCMS 元数据纳入源代码管理的问题?如果不是,这种情况的“正常”生产实践是什么?
I'm (very) new to OpenCMS, and so is everyone else on my team.
We've just started a new project and we're using OpenCMS. Right now we have an instance of OpenCMS running on each developer's machine, as well as a production server. We're using Eclipse/CVS for source control, but propagating changes to a different machine does not propagate the metadata OpenCMS stores for each file (obviously).
My coworker is looking for a script solution to import/export the metadata. When the site goes live we'll set up a nightly commit of the content files into source control to grab whatever changes the marketing department has made.
This seems backwards to me. Should we each have OpenCMS on our machines? If so, how do other people get around the issue of getting the OpenCMS metadata into source control? If not, what is the "normal" production practices for this situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如前面提到的,WebDAV 是一个好方法。似乎还存在一个针对团队工作的 Maven 插件。
OpenCms 邮件列表通常对于有关 OpenCms 的问题非常有帮助:
http://old.nabble.com/OpenCMS-Development-in-a-team-td28432519.html#a28432519
这是有关 OpenCms + WebDAV 的 wiki 条目
http://opencms-wiki.org/WebDAV_access_to_the_OpenCms_VFS
As mentioned before, WebDAV is a good way. There also seems to exist a Maven plugin targeting team work.
The OpenCms mailing list is quite helpful in general for questions around OpenCms:
http://old.nabble.com/OpenCMS-Development-in-a-team-td28432519.html#a28432519
Here's the wiki entry about OpenCms + WebDAV
http://opencms-wiki.org/WebDAV_access_to_the_OpenCms_VFS