That forced antlr to run every time. The workaround is to remove the output directory so files are generated from clean slate, thus have proper time stamps.