How to build ANTLRWorks using ant?

Assuming you have ant installed properly on your system, you can build ANTLRWorks and its plugin in a few seconds:


It is possible to replace the provided version of ANTLR or StringTemplate with your own version if you want. Put the jar file in the lib folder and change the accordingly.