[antlr-interest] building ANTLR 3.0.1
Mark Volkmann
r.mark.volkmann at gmail.com
Thu Dec 20 13:59:41 PST 2007
I downloaded the source and ran "ant" from the directory by created by
unzipping it, but I get
Buildfile: build.xml
generator-prepare:
[mkdir] Created dir:
/Users/Mark/Documents/Programming/ANTLR/antlr-3.0.1/codegen
[copy] Copying 6 files to
/Users/Mark/Documents/Programming/ANTLR/antlr-3.0.1/codegen
generator:
[antlr] Exception in thread "main" java.lang.NoClassDefFoundError:
antlr/Tool
BUILD FAILED
The class antlr/Tool is in lib/antlr-2.7.7.jar which would seem to be
in the classpath defined in build.xml.
I saw the wiki page on "How do I rebuild ANTLR v3?" at
http://www.antlr.org/wiki/pages/viewpage.action?pageId=732 but it
doesn't indicate that I'm missing any steps.
I think the key questions are "What classpath does the generate Ant
task use?" and "Where is the generate Ant task defined?"
--
R. Mark Volkmann
Object Computing, Inc.
More information about the antlr-interest
mailing list