ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@antbuild.com>
Subject milliseconds versus seconds[was: Vote: <local> for 1.6]
Date Thu, 23 Oct 2003 10:06:04 GMT
milliseconds are simply more powerful.
In telnet the timeout is defined as an integer, so it not possible to say
timeout="0.002" for 2 milliseconds. Even if it were possible, it would be a
problem because of locales
(ie the build file writer would have to wonder whether he should write
timeout="0.002" or timeout="0,002" depending on the locale
of the computer where his build will run.
Antoine

-----Ursprungliche Nachricht-----
Von: Stefan Bodewig [mailto:bodewig@apache.org]
Gesendet: Donnerstag, 23. Oktober 2003 09:57
An: dev@ant.apache.org
Betreff: Re: Vote: <local> for 1.6


On Wed, 22 Oct 2003, Steve Loughran <steve_l@iseran.com> wrote:

> How about we make the sshexec timeouts seconds instead of ms?

We are inconsistent with the timeout attribute between different
tasks.  <exec>, <java>, <junit> and <sshexec> use milliseconds,
<telnet> uses seconds.

I understand that some people may migrate from <telnet> to <sshexec>
and may get bitten by the difference, but milliseconds is what the
majority of other Ant tasks use.

Stefan



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message