Gabriel Gruber | 24 Aug 16:32
Favicon

HOWTO: enable Flowscript debugger


Hello guys,

as I just stumbled across it again, I want to give a short description how you can enable flowscript-debugger for your cocoon project. It is crucial that you use the latest version (cocoon-flowscript-impl 1.1.0).

As all properties are handled now by spring configurator, you have several options:

a) define system property at startup of servlet container.

-Dorg.apache.cocoon.flowscript.debugger=enabled

b) define it in your properties file.
f.i. create a properties file under src/main/resources/META-INF/cocoon/properties/myProps.properties

and put this property reference inside
org.apache.cocoon.flowscript.debugger=enabled

c) use more sophisticated setup.
create one properties file for development and a second for production and turn on flowscript debugger only in dev-mode...


It is important to use the word "enabled" instead of a pure boolean value...


cheers,

Gabriel


----- Forwarded by Gabriel Gruber/Workflow on 24.08.2008 16:23 -----
Grzegorz Kossakowski <grek <at> tuffmail.com>

21.08.2008 13:32

Please respond to
dev <at> cocoon.apache.org

To
dev <at> cocoon.apache.org
cc
Subject
Re: Release of cocoon-flowscript-impl





Grzegorz Kossakowski pisze:
> Hi,
>
> Just wanted to let you know that I'm planning to prepare 1.0.1 release
> of cocoon-flowscript-impl that contain one but important bug-fix: it
> fixes Flowscript debugger that was broken in 1.0.0.
>
> I would like ask anyone to not commit to this block, please.

Actually, I've checked it more carefully and there were other (more serious) changes made by others
in the past. Thus it makes more sense to release 1.1.0 version.

--
Best regards,
Grzegorz Kossakowski

Gmane