Working with Groovy

See Also 

Groovy is an agile and dynamic scripting language. It builds upon the strengths of Java but has additional features inspired by other scripting languages such as Python, Ruby, and Smalltalk.

For more information about Groovy, see:

Using Groovy with the IDE

After you create a Java application in the IDE, you can enable it to support Groovy. When you do so, the Groovy JAR is added to the application's classpath and the build.xml file is updated so that the Groovy code is compiled correctly with the Java code in the application. In addition, when you build the application, the Groovy files will be excluded, because they will be superfluous as they will have been compiled to Java code and thereby be equal to all the other Java classes in your application.

Two file templates are provided for coding in Groovy: a Groovy script template and a Groovy class template. When you open these files, the Source Editor provides code completion, syntax highlighting, and many other editor features to help you while you type your Groovy code.

See Also
Enabling a Java Application to Support Groovy
Editing Groovy Source Files

Legal Notices