AFAIK, "-traceTreeParser" is the valid option now. -------------------------------------------------------------- ANTLR Parser Generator Version 2.7.2 1989-2003 jGuru.com warning: invalid command-line argument: -traceTreeWalker; ignored ---> ANTLR.java .... private void populateAttributes() { .... if (traceTreeWalker) { // here, I think commandline.createArgument().setValue("-traceTreeWalker"); } if (debug) { commandline.createArgument().setValue("-debug"); } }
Do you know of an easiliy accessible way for Ant to determine whether it is running version 2.7.2 (or later) or 2.7.0? In 2.7.0 the option is documented as -traceTreeWalker.
antlr.Version class appears to have all the info you may need.
You are right. The best thing about antlr.Version is that it didn't exist in 2.7.0 so we only need to check for its existance.
fixed in nightly build 2003-05-22.
*** Bug 28447 has been marked as a duplicate of this bug. ***