Hi,

My application should execute a Perl script. I consider to use
ScriptGenerator. I add in my sitemap:

<map:generator name="script"
logger="antilopeFST.generator.scriptgenerator"
src="org.apache.cocoon.generation.ScriptGenerator"/>

Note I didn't add Perl language because BSF use extension to determine
language

then

<map:match pattern="test.pl">
 <map:generate type="script" src="bin/test.pl"/>
 <map:serialize/>
</map:match>

When I call the script I got an exception 
org.apache.cocoon.ProcessingException: BSFException in
ScriptGenerator.generate(): org.apache.bsf.BSFException: unable to load
language: perl

In the stacktrace I see:
org.apache.bsf.BSFManager.loadScriptingEngine(Unknown Source)

My question is how to setup and configure ScriptingEngine for perl in
cocoon ?

Thanks for your help.

Willy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to