The Tool requires a build of ANTLR 3.4 build with generics support (target 1.5 or newer). All of the builds currently available through Maven central use target 1.4. Until this is resolved, you’ll need to build the latest ANTLR 3 runtime from source before building v4.
The tool definitely depends on ST4. The latest version is 4.0.6, but 4.0.4 is the latest in Maven central.
--
Sam Harwell
Owner, Lead Developer
--
You’re on the right track.
We should have dependencies and other issues straightened out next month for a coordinated release of the following, including proper publishing at Maven central.
· ANTLR 3.5.1 (update to address publishing issues)
· StringTemplate 4.0.7 (update to address publishing issues)
· ANTLR 4.0!
--
Other hints:
OK, that's not sufficiently detailed to do it by rote, but hopefully enough clues that it saves others some time.
-- Graham
Thanks Graham. Hopefully this helps anyone who’s trying to work with this project right now.
I’ve applied for hosting the Maven artifacts at Sonatype. Hopefully I can get the updated V3 runtime hosted in Maven central soon and end this madness. Once those binaries are online, building V4 will be as simple as building the master POM in the v4 repo’s root folder.
Thanks,
--
Sam Harwell
Owner, Lead Developer
From: antlr-di...@googlegroups.com [mailto:antlr-di...@googlegroups.com]
On Behalf Of Graham Wideman
Sent: Monday, November 26, 2012 10:31 PM
To: antlr-di...@googlegroups.com
Subject: Re: [antlr-discussion] Antlr4-master build issues
FWIW, I succeeded, but not easy going. In case anyone else is going to try this:
--
Hope that helps,
Graham
--
I uploaded snapshot releases to sonotype, so they should be available for your Maven builds without requiring you to build them from source. The available releases are:
ANTLR 3: 3.5.1-SNAPSHOT
StringTemplate 4: 4.0.7-SNAPSHOT
ANTLR 4: 4.0-SNAPSHOT
--
Sam Harwell
Owner, Lead Developer
From: antlr-di...@googlegroups.com [mailto:antlr-di...@googlegroups.com]
On Behalf Of Graham Wideman
Sent: Tuesday, November 27, 2012 8:49 PM
To: antlr-di...@googlegroups.com
Subject: Re: [antlr-discussion] Antlr4-master build issues
Hi Jim:
--
No problem. Please let me know if it works for you :)
From: antlr-di...@googlegroups.com [mailto:antlr-di...@googlegroups.com]
On Behalf Of Graham Wideman
Sent: Tuesday, November 27, 2012 11:43 PM
To: antlr-di...@googlegroups.com
Subject: Re: [antlr-discussion] Antlr4-master build issues
Excellent -- thanks!
-- Graham
--
I uploaded all artifacts associated with the ANTLR 3 and ANTLR 4 projects, which includes gUnit for v3, and the maven plugins for v3 and v4 (haven’t tested the v4 plugin).
From: antlr-di...@googlegroups.com [mailto:antlr-di...@googlegroups.com]
On Behalf Of Hans Uhlig
Sent: Thursday, November 29, 2012 9:55 PM
To: antlr-di...@googlegroups.com
Subject: Re: [antlr-discussion] Antlr4-master build issues
Any chance you can upload the snapshot for the maven build plugin as well?
I thought Maven would be able to find and automatically download them as part of a build. Is that not the case?
Currently they are in the snapshot repository:
https://oss.sonatype.org/content/repositories/snapshots/org/antlr/
--
Sam Harwell
Owner, Lead Developer
From: antlr-di...@googlegroups.com [mailto:antlr-di...@googlegroups.com]
On Behalf Of Hans Uhlig
Sent: Thursday, November 29, 2012 10:27 PM
To: antlr-di...@googlegroups.com
Subject: Re: [antlr-discussion] Antlr4-master build issues
Thanks. I must be being dense as I cant find them. Am I looking in the wrong sonatype repo?
https://repository.sonatype.org/index.html#nexus-search;quick~antlr4-runtime
On Thursday, November 29, 2012 8:18:20 PM UTC-8, Sam Harwell wrote:
I uploaded all artifacts associated with the ANTLR 3 and ANTLR 4 projects, which includes gUnit for v3, and the maven plugins for v3 and v4 (haven’t tested the v4 plugin).
--
Sam Harwell
Owner, Lead Developer
From: antlr-di...@googlegroups.com [mailto:antlr-di...@googlegroups.com] On Behalf Of Hans Uhlig
Sent: Thursday, November 29, 2012 9:55 PM
To: antlr-di...@googlegroups.com
Subject: Re: [antlr-discussion] Antlr4-master build issues
Any chance you can upload the snapshot for the maven build plugin as well?
--
Thanks for the info. :)
When ANTLR 4.0 is released, these artifacts will become available through Maven central so you won’t have to resort to these workarounds.
From: antlr-di...@googlegroups.com [mailto:antlr-di...@googlegroups.com] On Behalf Of Hans Uhlig
Sent: Thursday, November 29, 2012 11:33 PM
To: antlr-di...@googlegroups.com
--