Carsten Ziegeler wrote:
> And we don't even need maven for this! Cocoon uses a running mode which can
> be set as a system property. The definition for this is free, so we ship
> Cocoon currently with the values "prod" and "dev". You can refer to
> these values directly from within your xconf or your sitemap and
> property replacement is done by Cocoon. So if you use
> ${org.apache.cocoon.mode} instead of ${env} this should already work
> without filtering and doesn't require a rebuild for switching!
Carsten, can you refer to some documentation or mail that explains how this
mechanism works? (I recall that you wrote something but don't know anymore where
to find it.)
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|