[antlr-interest] building antlr with ant, or otherwise

Rajesh Menon prm225 at gmail.com
Sun Dec 31 11:31:24 PST 2006


Hi.
I wanted to try antlr-3.0b6 so I downloaded 
http://fisheye2.cenqua.com/browse/~tarball=tbz2/antlr/antlr.tbz2 and 
tried to build it using ant (I noticed Terr's comment on the ant thing 
in the README, but I decided to do it anyway.)

Ant fails with the report:
Buildfile: build.xml

generator:
     [antlr] Exception in thread "main" java.lang.NoClassDefFoundError: 
antlr/Tool

BUILD FAILED
~/src/antlr/antlr-3.0b6/build.xml:49: ANTLR returned: 1


Line 49 in build.xml is `<antlr target="${antlr.g}" />`.

Once again (twice in a day), I think this looks like a classpath/naming 
issue (I tend to say that whenever I see that Exception.)
Any help from those who've used ant to build antlr would be appreciated.

Thanks.

p.s: do we need to add some older .jar's to the classpath to build the 
new ones?


More information about the antlr-interest mailing list