Hello all !
The home of my webapp will soon move, and i want to declare it with an
environment variable.
So i define an environment variable and replace the path to the
directory of my website sitemap.xmap with this variable :
so : before :
<map:match pattern="referentiels/**">
<map:mount uri-prefix="referentiels"
src="file:/users/sys/guckert/dossiers/cocoon/referentiels/sitemap.xmap"
reload-method="synchron"
check-reload="yes"/>
</map:match>
and after :
<map:match pattern="referentiels/**">
<map:mount uri-prefix="referentiels"
src="file:$REFERENTIEL_HOME/sitemap.xmap"
reload-method="synchron"
check-reload="yes"/>
</map:match>
But, when i try to reload the index.html with Cocoon, i get the folowing
:
Failed to load sitemap from file:$REFERENTIEL_HOME/sitemap.xmap
Is it not possible to do this with cocoon or what did i wrong ?
Thanks
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>