You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Chris Nauroth <cn...@hortonworks.com> on 2015/05/14 20:17:30 UTC

Ant 1.9.4 required after ZOOKEEPER-2183

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

Re: Ant 1.9.4 required after ZOOKEEPER-2183

Posted by Chris Nauroth <cn...@hortonworks.com>.
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" <ph...@apache.org> 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 <cn...@hortonworks.com>
>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
>>


Re: Ant 1.9.4 required after ZOOKEEPER-2183

Posted by Patrick Hunt <ph...@apache.org>.
Can we update build.xml such that older versions can be used?

Patrick

On Thu, May 14, 2015 at 11:17 AM, Chris Nauroth <cn...@hortonworks.com>
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
>