我在本地机器上的svn和hybris包中有hybris自定义扩展。我需要使用svn自定义扩展,以便我可以将我的模块更改/更新提交到svn服务器。如何在localextensions.xml中编辑自定义扩展路径以使用带有hybris包的svn代码?
答案 0 :(得分:1)
So my understanding is you want your extensions save in a different folder than say hybris/bin/myextensions, is this correct?
If so this is not a problem. To do this create your folder where you want to save your extensions, like you've said you have done. Open up your localextensions.xml in the config.
Include your extensions like this:
<extension>
<!--
There should be a path dir defined within the config like below
-->
<path dir="${HYBRIS_BIN_DIR}" />
<!--
Navigate to where your extensions are defined, you can create your
own path variable above if you want too, this is just an example for you
-->
<extension name="${HYBRIS_BIN_DIR}/../../myExtensionsFolder/extension1" />
<extension name="${HYBRIS_BIN_DIR}/../../myExtensionsFolder/extension2" />
</extension>
Once you build these extensions should be built too.