[antlr-interest] rebuilding antlr 3.1.1 with ant

Gavin Lambert antlr at mirality.co.nz
Sun Feb 8 12:02:20 PST 2009


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