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 <[email protected]> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
