Hi,
I have a small proposed modification for hippo-cms/editor/maven.xml. Can't
patch due to line ending hell and a ton of other local hacks, so I'll
describe it instead.
In our environment, we have multiple servermanager configs based on the name
of the environment, e.g.
servermanager/oracle/projects/test
servermanager/oracle/projects/prod
When we configure the cms to use these in our build.properties:
#----- Server Manager parameters -----#
maven.cocoon.servermanager.configuration=test
maven.cocoon.servermanager.configuration.dir=${basedir}/../servermanager/oracle
... it works well, except both sets of configs are copied over.
This can be avoided by adding a one line change to maven.xml, going from:
<j:when test="${serverConfigurationDir != null and
serverConfiguration!= 'localdev'}">
<fileset dir="${serverConfigurationDir}">
<!-- exlude zipfile to prevent filter corruption in zipfile
-->
<exclude name="**/*.zip" />
</fileset>
</j:when>
to:
<j:when test="${serverConfigurationDir != null and
serverConfiguration!= 'localdev'}">
<fileset dir="${serverConfigurationDir}">
<!-- exlude zipfile to prevent filter corruption in zipfile
-->
<exclude name="**/*.zip" />
<include name="**/${serverConfiguration}/**" />
</fileset>
</j:when>
Would this be a useful change for everyone else, as well?
Andrew.
--
Sourcesense: Making sense of Open Source
Tel: +44 (0)870 741 6658 Fax: +44 (0)700 598 1135
Web: http://www.sourcesense.com/
********************************************
Hippocms-dev: Hippo CMS development public mailinglist