update ant build
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9047]
This commit is contained in:
parent
afb767b99c
commit
99d5d64efb
18
build.xml
18
build.xml
|
@ -1,4 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
|
||||
Make build.properties like this:
|
||||
|
||||
version=4.0ea
|
||||
|
||||
antlr3.jar=/usr/local/lib/antlr-3.4-complete.jar
|
||||
ant-antlr3.jar=${ant.library.dir}/ant-antlr3.jar
|
||||
build.sysclasspath=ignore
|
||||
-->
|
||||
|
||||
<project name="ANTLR4" default="distribute" basedir=".">
|
||||
|
||||
<property file="build.properties" />
|
||||
|
@ -35,14 +47,17 @@
|
|||
<arg value="ANTLRParser.g"/>
|
||||
<arg value="ANTLRLexer.g"/>
|
||||
<arg value="ActionSplitter.g"/>
|
||||
<arg value="ASTVerifier.g"/>
|
||||
<arg value="ATNBuilder.g"/>
|
||||
<arg value="BlockSetTransformer.g"/>
|
||||
<arg value="GrammarTreeVisitor.g"/>
|
||||
<arg value="LeftRecursiveRuleWalker.g"/>
|
||||
<classpath>
|
||||
<pathelement location="${antlr3.jar}"/>
|
||||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
</java>
|
||||
|
||||
<!--
|
||||
<echo>semantics grammars</echo>
|
||||
<java classname="org.antlr.Tool" fork="true" failonerror="false" maxmemory="300m"
|
||||
dir="${basedir}/tool/src/org/antlr/v4/semantics">
|
||||
|
@ -57,6 +72,7 @@
|
|||
<pathelement path="${java.class.path}"/>
|
||||
</classpath>
|
||||
</java>
|
||||
-->
|
||||
|
||||
<echo>codegen grammars</echo>
|
||||
<java classname="org.antlr.Tool" fork="true" failonerror="false" maxmemory="300m"
|
||||
|
|
|
@ -65,7 +65,6 @@ options {
|
|||
*/
|
||||
package org.antlr.v4.parse;
|
||||
import org.antlr.v4.tool.*;
|
||||
import org.antlr.v4.runtime.tree.CommonTree; // use updated v4 one not v3
|
||||
}
|
||||
|
||||
@members {
|
||||
|
|
|
@ -62,7 +62,6 @@ options {
|
|||
package org.antlr.v4.parse;
|
||||
import org.antlr.v4.tool.*;
|
||||
import org.antlr.v4.automata.ATNFactory;
|
||||
import org.antlr.v4.runtime.tree.CommonTree; // use updated v4 one not v3
|
||||
}
|
||||
|
||||
@members {
|
||||
|
|
|
@ -76,7 +76,6 @@ options {
|
|||
*/
|
||||
package org.antlr.v4.parse;
|
||||
import org.antlr.v4.tool.*;
|
||||
import org.antlr.v4.runtime.tree.CommonTree; // use updated v4 one not v3
|
||||
import java.lang.reflect.Method;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue