# Updated version of Ant

**URL:** <https://discuss.circleci.com/t/updated-version-of-ant/2515>\
**Category:** Build Environment\
**Tags:** java\
**Created:** [March 4, 2016, 11:25pm UTC](https://discuss.circleci.com/t/updated-version-of-ant/2515 "2016-03-04T23:25:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EmpowerOperations](https://avatars.discourse-cdn.com/v4/letter/e/848f3c/32.png) [@EmpowerOperations](https://discuss.circleci.com/u/EmpowerOperations)\
**Post date:** [March 4, 2016, 11:25pm UTC](https://discuss.circleci.com/t/updated-version-of-ant/2515/1 "2016-03-04T23:25:30Z")

</div>

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:

```auto
# >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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:38am UTC](https://discuss.circleci.com/t/updated-version-of-ant/2515/2 "2018-06-18T11:38:04Z")

</div>


