Updated version of Ant

java

#1

Hey guys,

Your version of ant is old, I’m wondering if you can update it.

The simple work-around (that costs me about 10 seconds) is to use apt-get to update it.

You’re using ant 1.8 from 2011, the newest on apt-get is ant 1.9.4, released in 2014. It seems like it contains mostly bug fixes and non-breaking changes:

# >ant -v
# circle CI's default version of ant
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
Buildfile: build.xml does not exist!
Build failed

# >sudo apt-get install --only-upgrade ant
#...

# >ant -v
# newest verstion of ant on apt-get, 
# still ~old but it has the feature I need
Apache Ant(TM) version 1.9.3 compiled on April 8 2014
Trying the default build file: build.xml
Buildfile: build.xml does not exist!
Build failed

Specifically, I’m looking for the junit task to support a flag, skipNonTests on a batch junit target, which is how we run tests. 1.8.2 doesn’t have it, 1.9.3 does.

cheers!

-Geoff


#2