[antlr-interest] Maven builds, hudson continuous

Jim Idle jimi at temporal-wave.com
Wed Nov 19 16:39:18 PST 2008


As some of you may have noticed, a lot of work has been done lately to
provide the ANTLR components as Maven artifacts
(http://maven.apache.org/ ), to provide an auto-syncing repository so
that new release are available via Maven within 4 hours of release and
finally to create Maven projects so that it is easy for people other
than Ter to build ANTLR. 

If you build Java projects and have not come across Maven then I highly
recommend taking the 10 minute tour as it is pretty useful.

As a side effect of this work, if you install the Maven plugin into your
IDE (Netbeans/IDEA/Eclipse) then you will find that you can open the
directory that contains the ANTLR source code (look for the pom.xml
file) in the IDE and it will automatically know how to build and test
the software.

A further side effect however, should make the need for you to build
your own development snapshots. This is because we have also implemented
an instance of the Hudson continuous build server. Here you can find the
latests build status of all the ANTLR tools and you can download the
latest development snapshot, if you are not using Maven.

You can find the hudson reports at: http://www.antlr.org:8888/hudson
(JIRA is still at http://www.antlr.org:8888 )

Finally, if you are a Maven user and for some reason feel the need to
build with the latest snapshot releases (perhaps to get a bug fix and so
on), then you can connect to the ANTLR snapshot repository by specifying
it in your maven pom.xml file as follows:


<project> ...

    <!--

    Inform Maven of the ANTLR snapshot repository, which it will
    need to consult to get the latest snapshot build of the runtime
    and tool directories if it was not built and installed locally.
    -->
    <repositories>

        <!--
        This is the ANTLR repository.
        -->
        <repository>
            <id>antlr-snapshot</id>
            <name>ANTLR Testing Snapshot Repository</name>
            <url>http://antlr.org/antlr-snapshot</url>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>always</updatePolicy>
            </snapshots>
        </repository>

    </repositories>
...
</project>



Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081119/4e0ef92b/attachment.html 


More information about the antlr-interest mailing list