[antlr-interest] ANTLR installation/use on Unix

James Abley james.abley at gmail.com
Sat Nov 29 11:25:38 PST 2008



There is a package for debian / Ubuntu but it's 2.x. Maybe the maintainers 
could be convinced to provide an antlr3 package a la sqlite and sqlite3? 
Typically they do tend to lag behind the current releases, so you're 
probably just best off downloading and configuring your PATH with a wrapper 
script if you really need it.

A better option might be for you to use ANT or Maven to manage your builds, 
if you aren't already?

Cheers,

James

On 29 Nov 2008, 5:47 PM, "Jim Idle" <jimi at temporal-wave.com> wrote:

On Fri, 2008-11-28 at 21:28 -0600, Gary R. Van Sickle wrote: > > Hi Terence 
et al, > > Am I just get...
Well, ANTLR is a Java tool, so make install only works for the C runtime 
distribution (after a ./configure).

The ANTLR source can be bult from scratch now using maven though:

1) In stall Maven 2.0.9 or better;
2) Find the directories with pom.xml in them
3) cd to them and type: mvn
4) Look at the output of the build to see where the .jar files go if are not 
familiar with Maven.

Note that the Maven build, as well as constructing the ANTLR .jar file also 
creates a complete executable (I.e Java -jar) jar file that includes all the 
dependencies  to make things easier for developers.

However, there is also a continuous build system at: 
http://antlr.org:8888/hudson/ where you can just download the up to the 
minute builds of everything in the ANTLR domain. Unless you are hacking it 
yourself, there should be no need to build ANTLR basically.

See the C Runtime API (linked from teh main home page) if you mean that you 
want to build the C runtime.

Jim

> > > ANTLR Parser Generator Version 3.1.1 > [...] > > ??? > > I've read 
"How do I install this d...


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081129/226a4b43/attachment.html 


More information about the antlr-interest mailing list