Name

mparse

Synopsis

Executes the Metamata MParse compiler compiler on a grammar file. Metamata was purchased by WebGain in October 2000, and MParse is no longer available.

Attributes

cleanup (1.3, 1.4, boolean, N)

If true, remove the temporary Sun JavaCC file created during transformation of the grammar file. Defaults to false.

debugparser (1.3, 1.4, boolean, N)

If true, enable parser debugging. Defaults to false.

debugscanner (1.3, 1.4, boolean, N)

If true, enable scanner debugging. Defaults to false.

maxmemory (1.3, 1.4, String, N)

Sets the maximum memory for the JVM.

metamatahome (all, File, Y)

The directory containing the Metamata distribution.

target (all, File, Y)

The .jj grammar file to process. Its timestamp is compared to the generated .java file, and this task runs only if the .jj file is newer.

verbose (1.3, 1.4, boolean, N)

If true, operate in verbose mode. Defaults to false.

Content

0,1 nested <classpath> elements (1.3, 1.4)

May be used in place of the classpath or classpathref attributes.

0..n nested <jvmarg> elements (1.3, 1.4)

The command-line JVM arguments as described in Chapter 4.

0,1 nested <sourcepath> elements (1.3, 1.4)

The path element defining where source files are located.

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.