[antlr-interest] Building Antlr-3.2 from source on a Mac with Maven

Naveen naveen.garg at gmail.com
Sat May 22 17:37:28 PDT 2010


On May 22, 3:13 pm, Alan Condit <acon... at ipns.com> wrote:
> Has anybody with a Mac successfully rebuilt Antlr-3.2 from source?

I built it successfully like this:
download latest source from http://github.com/antlr/antlr
edit the pom.xml in the root folder, remove the following two lines:
        <module>gunit</module>
        <module>gunit-maven-plugin</module>
there were errors building the gunit plugin otherwise on mac.
you may need an existing antlr-3.2 and antlr-2.7.7.jar in your
classpath
in the root folder again, run:
mvn -N install
mvn -Dmaven.test.skip=true
mvn -Dmaven.test.skip=true package assembly:assembly
this will put a antlr-master-3.2.1-SNAPSHOT-completejar.jar weighing
1.6mb in the target folder.




More information about the antlr-interest mailing list