Name

antlr

Synopsis

Runs the ANTLR parser and translator generator tool. ANTLR must be installed for this task to run. It is available at http://www.antlr.org. This task compares the grammar file against the target files, running ANTLR only if the grammar file is newer.

Attributes

dir (1.3, 1.4, File, N)

The working directory for the forked JVM. Only valid when fork=true.

fork (1.3, 1.4, boolean, N)

If true, run ANTLR in its own JVM. Defaults to false.

outputdirectory (1.3, 1.4, File, N)

The destination directory for the generated files. Defaults to the directory containing the grammar file.

target (1.3, 1.4, File, Y)

The name of the grammar file.

Content

None.

Get Ant: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.