Description

This tag specifies grammars to add to an antlr tag for it's processing.

The body of this tag must be a file name to be found in the parent tag's source directory.

Attributes

None

Nested Elements

None

Examples

<j:jelly xmlns:j="jelly:core" xmlns:antlr="jelly:antlr">
  <j:set var="maven.antlr.src.dir" value="${basedir}/grammars"/>

  <antlr:antlr outputDir="${maven.antlr.target.dir}">
    <antlr:grammar>file1.antlr</antlr:grammar>
    <antlr:grammar>file2.antlr</antlr:grammar>
  </antlr:antlr>

</j:jelly>