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

David Piepgrass qwertie256 at gmail.com
Tue Oct 17 18:23:57 PDT 2006


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061017/e436bdbe/attachment.html 


More information about the antlr-interest mailing list