You have to build the cms with a maven cocoon:install instead of cocoon:deploy. Then all paths will be relative,
Regards Ard > > Hello, > > We are building the CMS on different local stations. > > After moving the target directory to the destination server > we encounter some problems. > > Settings are set in the cocoon.xconf and sites.xconf (WEB-INF dir) > > Some tags got somehow absolute paths > > Ie: <cms-extensionspath>file://C:/Documents and > Settings/aduijs/vastgoedmarkt/VGM CMS > CommApps/hcamanager/extensions/</cms-extensionspath> > > <cms-hcamanagerpath>file://C:/Documents and > Settings/aduijs/vastgoedmarkt/VGM CMS > CommApps/hcamanager/</cms-hcamanagerpath> > > > > Is there a setting somewhere where we can set this to a > relative url so we don't have to edit the files in the target > directory every time we distribute the build version?. (no > clue where to set them) > > > > The tags that got the absolute path: > > Cocoon.xconf: > > <cms-extensionspath>file://C:/Documents and > Settings/aduijs/vastgoedmarkt/VGM CMS > CommApps/hcamanager/extensions/</cms-extensionspath> > > <cms-hcamanagerpath>file://C:/Documents and > Settings/aduijs/vastgoedmarkt/VGM CMS > CommApps/hcamanager/</cms-hcamanagerpath> > > > > <component-instance > class="nl.hippo.cocoon.source.impl.ExtensionsSourceFactory" > name="extensions"> > > <cms-extensionspath>file://C:/Documents and > Settings/aduijs/vastgoedmarkt/VGM CMS > CommApps/hcamanager/extensions/</cms-extensionspath> > > </component-instance> > > <component-instance > class="nl.hippo.cocoon.source.impl.ExtensionsSourceFactory" > name="hcamanager"> > > <cms-extensionspath>file://C:/Documents and > Settings/aduijs/vastgoedmarkt/VGM CMS > CommApps/hcamanager/</cms-extensionspath> > > </component-instance> > > > > Sites.xconf: > > <directory>file://C:/Documents and > Settings/aduijs/vastgoedmarkt/VGM CMS > CommApps/editor/src/site/</directory> > > > > > > Thanks in advance > > > > arjan > > > > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
