Hi All,

... as I didn't get any answer from the user list, I try it again on the developers list:
just a simple question: how can I enable the flowscript debugger in Cocoon 2.2?

I built a simple cocoon block using the maven archetype. Flowscript is in the dependency list inside the pom.xml

How can I now enable the flowscript debugger?

I talked to Rainhard already and he suggested to "springify" the flowscript block in order to have configuration properties again. However I am a bit surprised as there should be some kind of configuration option for "oldstyle" avalon components, which are living inside a standard block of cocoon 2.2

In cocoon 2.1x I used to patch my cocoon.xconf to get the desired behavior, but in C2.2 I shouldn't touch those files anylonger. (I just reference the flowscript block as dependency) How can I not enable the flowscript debugger? (without having to modify the original block)

what I tried (without success):
- copying the cocoon-flowscript.xonf to my own avalong configuration files
- I tried properties like "javascript.debugger=enabled" with the Cocoon/spring configuration API (but I doubt that properties of avalon components can be set that way)

Excerpt from /cocoon/trunk/blocks/cocoon-flowscript/cocoon-flowscript-impl/src/main/resources/META-INF/cocoon/avalon/cocoon-flowscript.xconf

<?xml version="1.0" encoding="UTF-8"?>
<!-- SVN $Id$ -->
 <flow-interpreters default="javascript">
   <component-instance name="javascript"
                       exported="false"                        class="org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter">
     <!-- JavaScript Debugger support -->  
     <!-- <debugger>enabled</debugger> -->  

Any Suggestions? Or am I missing something?,


Mag. Gabriel Gruber
Senior Consultant
Workflow EDV GmbH, Dannebergplatz 6/23, A-1030 Wien