[antlr-interest] Fedora antlr3-tool command line antlr returns version 2.7.7
John B. Brodie
jbb at acm.org
Tue Aug 9 09:10:21 PDT 2011
I do not use Fedora; rather I use the jar file downloaded from antlr.org
on Ubunto 11.04 with proper CLASSPATH setting.
So my suggestion may be way off base...
On Tue, 2011-08-09 at 11:41 -0400, The Researcher wrote:
> I am test building ANTLR on Fedora 15 and installed package antlr3-tool
> using the GUI.
>
> Using the command line I entered antlr only to see version 2.7.7 not 3.x.
>
> While I know that 2.x versions are needed for 3.x versions to build, if I
> were to run from the command line shouldn't the antlr command be a 3.x
> version?
>
> So the real question is, can the antlr3-tool package be trusted for use from
> the command line?
Did you use the correct command line?
java antlr.Tool # runs the v2 tool
java org.antlr.Tool # runs the v3 tool
Sorry if this was just noise....
-jbb
More information about the antlr-interest
mailing list