Project

General

Profile

Groovy Add-on » History » Version 2

Udo Offermann, 08.04.2013 12:10

1 1 Udo Offermann
h1. Groovy Add-on
2 2 Udo Offermann
3
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. 
4
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.