[antlr-interest] antlr-interest Digest, Vol 38, Issue 9

Harald Mueller harald_m_mueller at gmx.de
Thu Jan 3 06:32:55 PST 2008


Hi -

Maybe you have the same problem I had: For a reason unknown to me (Johannes??), the nant file "examples-v3.common.xml" requires that the ANTLR.jar is called "antlr-v3.x.jar". If you rename it so, everything works ...
Oops: Also stringtemplate must be called "stringtemplate-v3.x.jar".

Best is that you look into the file examples-v3.common.xml to find out the required names - they are near the top of the file.

Regards
Harald

-------- Original-Nachricht --------
> Datum: Thu, 3 Jan 2008 06:22:27 -0800 (PST)
> Von: Shawn Poulson <spoulson3 at yahoo.com>
> An: jaluber at gmx.de
> CC: antlr-interest at antlr.org
> Betreff: Re: [antlr-interest] antlr-interest Digest, Vol 38, Issue 9

> > Actually, you have to put the jars into the "_SharedLibs" directory.
> > Unfortunately, the readme has a wrong naming scheme compared to what
> > the
> > build file actually says. Note the 's' in "_SharedLibs" and the
> > different ANTLR-jar name. I'm using a depot version of the build file
> > where there may other changes compared to the 3.0-version, so you may
> > end up editing files yourself again, if I'd sent it to you.
> 
> Ok, I've copied antlr-2.7.7.jar, antlr-3.0.1.jar,
> antlr-runtime-3.0.1.jar, and stringtemplate-3.1b1.jar into _SharedLibs.
>  Nant is still erroring out on the same ClassNotFoundException.
> 
> I see that antlr-3.0.1.jar contains the org.antlr.Tool path and
> structure.  What is keeping Java from opening this jar?  I tried
> renaming to antlr.jar, but again no change.
> 
> What else would I need to copy in or edit?
> 
> Thanks for the quick reply.
> 
> 
> ---
> Shawn Poulson
> spoulson at explodingcoder.com

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10


More information about the antlr-interest mailing list