[antlr-interest] [stringtemplate-interest] Antlr3 in Eclipse and Maven?

Brad Cox bradjcox at gmail.com
Wed Jun 20 16:27:14 PDT 2012


Thanks for the help but I'm gonna bail and try to get my head around xtext.
This is too flakey to count on. Reliable eclipse/maven integration is
essential; parsing is just a tiny fragment of what I need to do.

On Wed, Jun 20, 2012 at 6:48 PM, Barrie Treloar <baerrach at gmail.com> wrote:

> (Apologies Jim, reply doesn't do the expected thing, needed reply all).
>
> ---------- Forwarded message ----------
> From: Barrie Treloar <baerrach at gmail.com>
> Date: Thu, Jun 21, 2012 at 8:17 AM
> Subject: Re: [stringtemplate-interest] [antlr-interest] Antlr3 in
> Eclipse and Maven?
> To: Jim Idle <jimi at temporal-wave.com>
>
>
> On Wed, Jun 20, 2012 at 8:35 PM, Jim Idle <jimi at temporal-wave.com> wrote:
> [del]
> > The dependency list shows antlr-runtime-3.2.jar and
> stringtemplate-3.2.jar
> > now. Previously there was an antlr2 jar that I've explicitly excluded.
> > Didn't make a difference.
> >
> > My best guess is that the antlr3 maven plugin is launching antlr2, not
> > antlr3, but I have no visibility into what that plugin is doing.
> >
> > <groupId>org.antlr</groupId>
> > <artifactId>antlr3-maven-plugin</artifactId>
> > <version>3.1.3-1</version
> >
> > There's also likely confusion over which eclipse plugin I should be
> using.
> > After some searching I removed everything but the one from certiv, but no
> > joy.
>
> Run mvn -X and read the output carefully.
> I'd save it to a file for inspection.
>
> You should be able to clearly see the incorrect versions being used
> and who are the culprits.
>
> Either fix your pom because you have specified the wrong ones,
> or you need to use dependencyManagement to exclude the incorrect
> dependency from the offending plugin/artifact and then re-provide the
> version you want.
>
> I can't help with the eclipse plugin stuff.
> I've only looked for an eclipse plugin for StringTemplate, ANTLR
> grammar was sufficiently simple an Eclipse text editor was fine.
>



-- 
Cell: 703-594-1883
Blog: http://bradjcox.blogspot.com
Web: http://virtualschool.edu
Manassas VA 20111


More information about the antlr-interest mailing list