[antlr-interest] Problem with StringTemplate

Nauman recluze at gmail.com
Sun May 3 23:58:42 PDT 2009


Thanks for the help. I was confusing it with antlr runtime jar. I added the
2.7.7 and it works now :)

Thanks again.

On Mon, May 4, 2009 at 11:57 AM, Michael <micha-1 at fantasymail.de> wrote:

> Am Monday 04 May 2009 08:34:55 schrieb Nauman:
> > Hi all,
> >
> > I'm relatively new with Antlr and I'm having a little trouble with
> > StringTemplate. I tried searching on the mailing lists but without any
> > luck.
> >
> >
> > I'm trying to use the StringTemplate in a simple example. I get this
> error
> > when I try to run my test file.
> > *
> > *
> > I'm using StringTemplate 3.2 and antlr 3.1.3. I can see that TokenStream
> > class is present in the org.antlr.runtime package. The buildpath is set
> > correctly and both stringtemplate and antlr jars are referenced properly.
> >
> > Is there a version conflict here? The StringTemplate comes with antlr
> 2.7.7
> > but I don't want to use that. I want to use antlr v3. Can anyone help me
> > out here?
>
> you are using it: antlr3 depends on it, so add it to the classpath
>
> cheers
>  Michael
>



-- 
Nauman

Research Associate
Security Engineering Research Group
Institute of Management Sciences
Peshawar, Pakistan

Blog: http://recluze.wordpress.com
Group: http://serg.imsciences.edu.pk
Wiki: http://serg.imsciences.edu.pk/wiki
Art gallery: http://recluse.gfxartist.com

Contact number: +92 (0) 323 93 66 136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090504/1d203989/attachment.html 


More information about the antlr-interest mailing list