Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

The <groovyc> Ant Task

Description

Compiles groovy source files

Required taskdef

Assuming groovy-all-VERSION.jar is in my.classpath you will need to declare this task at some point in the build.xml prior to using this task.

<groovyc> attributes

Attribute

Description

Required

srcdir

directories containing Groovy source files

Yes

destdir

directory used to store the compiled groovy files

Yes

classpath

classpath used for compilation

No

stacktrace

if true each compile error message will contain a stacktrace

No

encoding

encoding of source files

No

  • No labels