<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
We have a new Maven artifact available: maven-gunit-plugin, this
automates the running of gunit tests as part of a Maven build.
Documentation to follow, but it is fairly easy to work out if you
already know ANTLR and gUnit. It can be used as:<br>
<br>
<tt><plugin><br>
<groupId>org.antlr</groupId><br>
<artifactId>maven-gunit-plugin</artifactId><br>
<version>3.1.3</version><br>
<configuration><br>
...<br>
</configuration><br>
</plugin></tt><br>
<br>
- - - - - -<br>
<br>
I have also fixed the issue with the ANTLR 3.1.3 whereby the -make
option (which the Maven plugin relies on) was not detecting changes in
.g files correctly and was assuming that everything was up to date. If
this was bugging you enough that you want to use the current snapshot
of antlr, then configure your pom.xml file like this:<br>
<br>
1) Add a reference to the ANTLR snapshot repository at the
<project> level:<br>
<br>
<tt> <!--<br>
<br>
Inform Maven of the ANTLR snapshot repository, which it will<br>
need to consult to get the latest snapshot build of the runtime and
tool<br>
if it was not built and installed locally.<br>
--><br>
<repositories><br>
<br>
<!--<br>
This is the ANTLR repository.<br>
--><br>
<repository><br>
<id>antlr-snapshot</id><br>
<name>ANTLR Testing Snapshot Repository</name><br>
<url><a class="moz-txt-link-freetext" href="http://antlr.org/antlr-snapshot">http://antlr.org/antlr-snapshot</a></url><br>
<snapshots><br>
<enabled>true</enabled><br>
<updatePolicy>always</updatePolicy><br>
</snapshots><br>
<br>
<releases><br>
<enabled>false</enabled><br>
</releases><br>
<br>
</repository><br>
<br>
</repositories></tt><br>
<br>
2) Change the version number of the antlr3-maven-plugin to
<version>3.1.4-SNAPSHOT</version><br>
<br>
- - - - - -<br>
Finally today, I have corrected the build of the source code collection
jars. You can always find the latest executable jar of ANTLR (java -jar
xxx.jar t.g) and the latest buildable source code at this permalink:<br>
<br>
<a class="moz-txt-link-freetext" href="http://antlr.org/hudson/job/ANTLR_Tool_Daily/lastSuccessfulBuild/org.antlr$antlr-master/">http://antlr.org/hudson/job/ANTLR_Tool_Daily/lastSuccessfulBuild/org.antlr$antlr-master/</a><br>
<br>
Similarly these artifacts are copied in to: <a class="moz-txt-link-freetext" href="http://antlr.org/download">http://antlr.org/download</a><br>
<br>
<font><font face="arial,helvetica" size="2">
<li><a linkindex="58"
href="http://antlr.org/download/antlr-master-3.1.4-SNAPSHOT-completejar.jar"><b>antlr-master-3.1.4-SNAPSHOT-completejar.jar</b></a></li>
<li><a linkindex="59"
href="http://antlr.org/download/antlr-master-3.1.4-SNAPSHOT-src.jar"><b>antlr-master-3.1.4-SNAPSHOT-src.jar</b></a></li>
</font><br>
</font><br>
Jim<br>
</body>
</html>