I didn't realize this, but since 1.7.0, Ant does support conditionals based on its own runtime version.
http://ant.apache.org/manual/Tasks/antversion.html I think we can use that to call an alternative <junit> task definition that doesn't use the threads attribute. I filed ZOOKEEPER-2191 for follow-up. --Chris Nauroth On 5/14/15, 11:20 AM, "Patrick Hunt" <[email protected]> wrote: >Can we update build.xml such that older versions can be used? > >Patrick > >On Thu, May 14, 2015 at 11:17 AM, Chris Nauroth <[email protected]> >wrote: > >> Hello everyone, >> >> Thank you to Hongchao for committing my ZOOKEEPER-2183 patch this >> morning. We're seeing full test runs drop from ~45 minutes to ~7 >>minutes >> by running multiple JUnit processes. >> >> I just wanted to make sure everyone was aware that this change requires >> Ant 1.9.4. If you've been running an older version of Ant, then please >> switch to 1.9.4, which is the latest. If you do try to run an older >> version of Ant, then you'll see an error about an unrecognized "threads" >> attribute on the JUnit task. >> >> --Chris Nauroth >>
