For complete information, see How to use ant with ANTLR3.
------------------------------------------- ANT_HOME/lib jar listing ------------------------------------------- ant.home: /usr/share/ant ant-antlr.jar (5758 bytes) ant-antlr3.jar (20628 bytes) <--------- ... |
<path id="classpath"> <pathelement location="${antlr3.jar}"/> <pathelement location="${ant-antlr3.jar}"/> </path> <target name="antlr" depends="init"> <antlr:ant-antlr3 xmlns:antlr="antlib:org/apache/tools/ant/antlr" target="src/T.g" outputdirectory="build"> <classpath refid="classpath"/> </antlr:ant-antlr3> </target> |