Apache Ant 1.10.10 got released around a month back. Among the usual bug fixes, we added a new enhancement for the “junitlauncher” task. For those of you who haven’t used or know about “junitlauncher” task, it’s a new task we introduced a few years back to allow projects using Ant, to be able to use the new JUnit5 testing framework. ...
Read More »Home »
Apache Ant 1.10.6 released – fork mode for junitlauncher and new jmod and link tasks
Apache Ant 1.10.6 has been released this week. This release contains numerous bug fixes as well as some very exciting new features. The complete release notes is available here and the downloads itself are available here. In this article, I will go over some of the new features that have made it into this release. Running JUnit5 tests in a ...
Read More »Apache Ant 1.9.13 and 1.10.5 released – Supports Java 11 single-file source programs
We just released 1.9.13 and 1.10.5 versions of Apache Ant. As usual, you can download it from the Ant project download page. Both these versions are mainly bug fix releases. The 1.10.5 version however has a new enhancement to the “java” task. As I blogged previously – Java 11 introduces a new feature where you can execute single-file Java programs ...
Read More »Ant 1.10.3 released with JUnit 5 support
We just released 1.9.11 and 1.10.3 versions of Ant today. The downloads are available on the Ant project’s download page. Both these releases are mainly bug fix releases, especially the 1.9.11 version. The 1.10.3 release is an important one for a couple of reasons. The previous 1.10.2 release, unintentionally introduced a bunch of changes which caused regressions in various places in Ant ...
Read More »Displaying Paths in Ant
In the blog posts Java and Ant Properties Refresher and Ant <echoproperties /> Task, I wrote about how being able to see how properties are seen by an Ant build can be helpful in understanding that build better. It is often the case that it’d also be valuable to see various paths used in the build as the build sees ...
Read More »Java Build Tools: Ant vs Maven vs Gradle
In the beginning there was Make as the only build tool available. Later on it was improved with GNU Make. However, since then our needs increased and, as a result, build tools evolved. JVM ecosystem is dominated with three build tools: Apache Ant with Ivy Maven Gradle Ant with Ivy Ant was the first among “modern” build tools. In ...
Read More »Apache Ant tasks for JMX access
I wanted to invoke JMX operations from the Ant tasks. However finding usable ant tasks library as well as the usage was rather tricky. So let me share my experience to make things easier for others. Ant tasks for JMX operations I decided to follow Tomcat documentation and used ant tasks distributed with tomcat. Just for the record the usage ...
Read More »4 simple steps to migrate legacy projects from Ant to Maven
For some time we were thinking about migrating our build to maven from ant. It happened last month and was actually simpler than what we have anticipated. From my experience, here is a brief about the steps we have followed. Our application is a is a enterprise web application build with multiple frameworks and technologies and is deployed as a single WAR. 1. ...
Read More »Ant Properties Nuances
Every once in a while, I’m reminded of a few subtle nuances of Ant properties that can, when forgotten, lead to confusion when dealing with Ant. In particular, the fact that Ant properties are generally immutable (not counting local properties as of Ant 1.8) and are set “permanently” upon their first setting can lead to slightly surprising results. The properties ...
Read More »