cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Groovy support in Cocoon
Date Sun, 04 Apr 2004 04:45:49 GMT
Hi:

Hi:

Some of us wanted to see Groovy support in Cocoon. Now we can "play" a
little with Groovy using the recently added support for Groovy script
generator under the BSF block. More info about how to use it is here:

http://cocoon.apache.org/2.1/userdocs/generators/script-generator.html

SITEMAP CONFIGURATION FOR GROOVY:
======================

In components section add:

<map:generator name="script"
    src="org.apache.cocoon.generation.ScriptGenerator"
    logger="sitemap.generation.scriptgenerator">
  <!-- Groovy support -->
  <add-languages>
    <language name="groovy" src="org.codehaus.groovy.bsf.GroovyEngine">
      <extension>groovy</extension>
      <extension>gy</extension>
    </language>
  </add-languages>
</map:generator>

I hope this will have a good welcome in the Cocoon Community.

Best Regards,

Antonio Gallardo

Mime
View raw message