[antlr-interest] Cannot use or build antlr-3.0b4

Loring Craymer lgcraymer at yahoo.com
Tue Oct 17 18:28:43 PDT 2006


Ter lives on a Mac; you probably need to change
forward slashes to backslashes to get his one-liner to
work.

--Loring

--- David Piepgrass <qwertie256 at gmail.com> wrote:

> Oops, wrong classpath. But when I fix it, the error
> is the same:
> 
> D:\Dev\Sandbox\antlr-3.0b4\src>javac -cp
> ../lib/antlr-2.7.6.jar
> ;../lib/stringtemplate-2.3b9.jar -d .
>  org/antlr/Tool.java org/antlr/*/*.java
> org/antlr/*/*/*.java
> error: cannot read: org/antlr/*/*.java
> 1 error
> 
> Luckily the binaries seem to work when the two
> versions are mixed:
> 
> D:\Dev\Sandbox\test>java -cp
> antlr-2.7.6.jar;antlr-3.0b4.jar;stringtemplate-
> 2.3b9.jar org.antlr.Tool test.g
> ANTLR Parser Generator   Early Access Version 3.0b4
> (??, 2006)  1989-2006
> 
> On 10/17/06, Loring Craymer <lgcraymer at yahoo.com>
> wrote:
> >
> > ANTLR 3 is still written in ANTLR 2.  You need an
> > ANTLR 2.7.6 (or 2.7.7) antlr.jar in your classpath
> as
> > well as StringTemplate.
> >
> > --Loring
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the antlr-interest mailing list