You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?xml version="1.0"?>
-
- <project name="antlr-test" basedir=".">
-
- <property name="tmp.dir" value="antlr.tmp"/>
-
-
- <target name="test1">
- <antlr/>
- </target>
-
- <target name="test2">
- <!-- delete the tmp directory, it may exists if a previous ANTLR test
- failed. This in turn will cause this test to fail, as it tests
- the build exception when the outputdirectory is invalid. -->
- <deltree dir="${tmp.dir}"/>
- <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">
- <deltree dir="${tmp.dir}"/>
- <mkdir dir="${tmp.dir}"/>
- <antlr target="java.g" outputdirectory="${tmp.dir}"/>
- <antlr target="java.tree.g" outputdirectory="${tmp.dir}"/>
- </target>
-
- <target name="test5">
- <antlr target="java.tree.g" outputdirectory="${tmp.dir}" fork="yes"/>
- </target>
-
- <target name="test6">
- <deltree dir="${tmp.dir}"/>
- <!-- This tmp.dir needs to be deleted by the build file which executes this test. -->
- <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>
-
- </project>
|