【发布时间】:2015-09-12 09:09:31
【问题描述】:
假设我希望将自定义组件放在名为“cc”的目录中,该目录将位于“moqui-trunk”目录旁边。
dev/
|-- cc/
|-- moqui-trunk/
MoquiInit.properties 中有一个设置
moqui.runtime=../moqui/runtime
理想情况下,人们会认为将其更改为 ../cc 应该可以完成这项工作。但在下面还有另一个块,上面写着:
if there is a "runtime" directory in the war file (in the root of the webapp) that will be used instead of this setting
我想如果我重命名/删除“moqui-trunk”目录中的“runtime”目录,那么它将开始从我的“cc”目录中挑选组件。但是我怎样才能通过对“moqui-trunk”的最小更改来实现相同的效果(以便轻松管理补丁、svn 更新等)。
【问题讨论】:
标签: moqui