next up previous contents index
Next: Example Up: ANTLR Previous: Parameters   Contents   Index

Nested Elements

ANTLR supports a nested <classpath> element, that represents a PATH like structure. It is given as a convenience if you have to specify the original ANTLR directory. In most cases, dropping the appropriate ANTLR jar in the normal Ant lib repository will be enough.

jvmarg

Additional parameters may be passed to the new VM via nested <jvmarg> attributes, for example:

<antlr target="...">
  <jvmarg value="-Djava.compiler=NONE"/>
  ...
</antlr>
would run ANTLR in a VM without JIT.

<jvmarg> allows all attributes described in Command line arguments.



Andrew Marlow 2003-07-08