<?xml version="1.0"?>

<project name="antlr-test" basedir="." default="test1">

  <property name="tmp.dir" location="antlr.tmp"/>


  <target name="test1">
    <antlr/>
  </target>

  <target name="test2">
    <antlr target="antlr.g" outputdirectory="${tmp.dir}"/>
  </target>

  <target name="test3">
    <mkdir dir="${tmp.dir}"/>
    <antlr target="antlr.g" outputdirectory="${tmp.dir}"/>
  </target>

  <target name="test4">
    <mkdir dir="${tmp.dir}"/>
    <antlr target="java.g" outputdirectory="${tmp.dir}"/>
    <antlr target="java.tree.g" outputdirectory="${tmp.dir}"/>
  </target>

  <target name="test5">
    <mkdir dir="${tmp.dir}"/>
    <antlr target="java.tree.g" outputdirectory="${tmp.dir}" fork="yes"/>
  </target>

  <target name="test6">
    <mkdir dir="${tmp.dir}"/>
    <antlr target="java.g" outputdirectory="${tmp.dir}" />
    <antlr dir="${tmp.dir}"
           target="java.tree.g"
           outputdirectory="${tmp.dir}"
           fork="yes"/>
  </target>

  <target name="test7">
    <antlr target="antlr.xml"/>
  </target>    

  <target name="cleanup">
    <delete dir="${tmp.dir}" />
  </target>

</project>