You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Patrick Refondini <pa...@pobox.com> on 2006/11/14 00:18:15 UTC
Cocoon 2.2.0-M2-SNAPSHOT Turning Mode Prod Off
Hi,
while developping a block I would like to have the "old" dev behaviour
(sitemap reloading, ...) but I do not know where to set that piece of
information.
I obtain the following log when running the block using "mvn jetty6:run"
Apache Cocoon 2.2.0-M2-SNAPSHOT is running in mode: prod
Any hint ?
Thanks,
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Cocoon 2.2.0-M2-SNAPSHOT Turning Mode Prod Off
Posted by Patrick Refondini <pa...@pobox.com>.
Hi Bertrand,
Bertrand Delacretaz wrote:
> On 11/14/06, Patrick Refondini <pa...@pobox.com> wrote:
>
>> ...I obtain the following log when running the block using "mvn
>> jetty6:run"
>> Apache Cocoon 2.2.0-M2-SNAPSHOT is running in mode: prod...
>
> IIUC this is is defined by the "org.apache.cocoon.mode" system
> property, setting it to "dev" should help.
Great, it does !
>
> Either in the JVM options (-Dorg.apache.cocoon.mode=dev) or using a
> systemProperty in your pom, for example.
I added it to Eclipse IDE in one of my "External Tools" jetty6:run
configuration, using the "Parameter Name" "Value" settings. This way
it's only there when running it in dev, from IDE.
>
> -Bertrand
Thanks, a little parameter saving much development time !
Patrick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Cocoon 2.2.0-M2-SNAPSHOT Turning Mode Prod Off
Posted by Bertrand Delacretaz <bd...@apache.org>.
On 11/14/06, Patrick Refondini <pa...@pobox.com> wrote:
> ...I obtain the following log when running the block using "mvn jetty6:run"
> Apache Cocoon 2.2.0-M2-SNAPSHOT is running in mode: prod...
IIUC this is is defined by the "org.apache.cocoon.mode" system
property, setting it to "dev" should help.
Either in the JVM options (-Dorg.apache.cocoon.mode=dev) or using a
systemProperty in your pom, for example.
-Bertrand
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org