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

David Holroyd dave at badgers-in-foil.co.uk
Sun Dec 31 15:47:18 PST 2006


On Sun, Dec 31, 2006 at 01:31:24PM -0600, Rajesh Menon wrote:
> generator:
>     [antlr] Exception in thread "main" java.lang.NoClassDefFoundError: antlr/Tool

NB antlr.Tool is the 'entry point' for v2; in v3 the equivalent is
org.antlr.Tool.

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

Yes, ANTLRv3 needs a built copy of v2 in the classpath to compile and
run (it also depends on StringTemplate, if you've not already grabbed a
copy).


ta,
dave

-- 
http://david.holroyd.me.uk/


More information about the antlr-interest mailing list