cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Gruber <>
Subject How to enable the Flowscript Debugger in C2.2 OR how to set properites on avalon components in C2.2?
Date Thu, 26 Jun 2008 06:07:57 GMT
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 

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 

<?xml version="1.0" encoding="UTF-8"?>
<!-- SVN $Id$ -->
  <flow-interpreters default="javascript">
    <component-instance name="javascript"
      <!-- 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
View raw message