[antlr-interest] Import a class or a jar file in ANTLRWorks

Giampaolo Tomassoni Giampaolo at Tomassoni.biz
Wed Apr 28 05:45:06 PDT 2010


> As I said you can specify the classpath which indicates java and javac
> where to find your java classes.
> 
> On Wed, Apr 28, 2010 at 14:12, Razvan Radu <razvansr at yahoo.com> wrote:
> > Not the path for javac or java.
> > I need the path where i can put jar files that i created.
> > Concrete:
> > in my .g example when it maches a rule i need to create an instance
> of an object from one of my classe:
> >
> > rule    :       case1 { Object1 o = new Object1();}
> >
> > Object1, and others, are in other project made in eclipse. It is
> posible to see them here? i try to puth the .java file, the .class
> file, the .jar generated fiele in the same directory but it dosen't
> work. What's the solution?
> >
> > Thank You

Which eclipse plugin are you using to compile your grammar files?




More information about the antlr-interest mailing list