[antlr-interest] rebuilding antlr 3.1.1 with ant
Carter Cheng
carter_cheng at yahoo.com
Sun Feb 8 12:42:31 PST 2009
Thanks Gavin. That seems to have worked :-).
--- On Sun, 2/8/09, Gavin Lambert <antlr at mirality.co.nz> wrote:
> From: Gavin Lambert <antlr at mirality.co.nz>
> Subject: Re: [antlr-interest] rebuilding antlr 3.1.1 with ant
> To: carter_cheng at yahoo.com, antlr-interest at antlr.org
> Date: Sunday, February 8, 2009, 12:02 PM
> At 08:53 9/02/2009, Carter Cheng wrote:
> >I tried making a slight correction to one of the
> templates for tree
> >parser building in the C directory to hopefully fix the
> problem I
> >was having w.r.t. the tree parser not compiling under
> g++ by
> >changing the line:
> [...]
> >I was hoping to test this change by rebuilding antlr
> 3.1.1 using
> >ant build from the top level directory but keep getting
> the
> >following error message:
>
> I can't answer your question directly, but I can tell
> you that you don't actually need to rebuild anything in
> order to modify the templates.
>
> Just unzip the .jar file (rename to .zip first if
> necessary), modify the template, re-zip it, and rename it to
> .jar. Done.
More information about the antlr-interest
mailing list