try with only the antlr-tools.jar and not antlr.jar. antlr.jar is used inside build.xml as part of the classpath for javac and as a minimal runtime.
Dirk Remy Maucherat wrote: > > > I'm going to commit the new slide client. > > Release notes are for later, I just wanted to warn everybody that there > > are some new libraries are needed to build the new client. > > The new build.xml uses the antlr parser generator (www.antlr.org) to > > generate a parser to parse user commands. > > > > The antlr task is included in the optional ant library: > > > http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/jakarta-ant- > 1.4.1-optional.jar > > That's not a big problem IMO, since it's already almost a requirement > because of the "style" task which is used for the documentation (I still > can't figure out why it didn't make it to the default task set). > > > The antlr tool itself (version 2.7.1) is available on the antlr site and > > also in CVS (lib/antlr-tools.jar). > > > > Both jars should be added to the ant classpath, put them in the ant/lib > > directory or something. > > I did that, I checked the classpath generated by Ant (which does include > antlr.jar and antlr-tools.jar), and I get a NoClassDefFound when the antlr > task is used (on antlr.Tool, which is in the antlr-tools.jar). I'm using Ant > 1.4.1. What did I do wrong ? > > Remy > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
