Project

General

Profile

Groovy Add-on » History » Revision 2

Revision 1 (Udo Offermann, 08.04.2013 10:48) → Revision 2/22 (Udo Offermann, 08.04.2013 12:10)

h1. Groovy Add-on 

 The Groovy Add-on allows to use the "Groovy language":http://groovy.codehaus.org/ within z2 applications. One can use pure Groovy modules beside pure Java modules as well as modules containing both Java and Groovy source code. The latter case requires a three pass compilation (called "joint compilation mode") while in the first case all modules (Java and Groovy) are compiled within one single pass.  
 The z2-Groovy compiler wrapper checks for each source component (i.e. @java/src.api@ and @java/src.impl@) whether it contains pure Groovy source files or Java and Groovy sources and chooses the appropriate compiler.