ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
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.

-----Ursprungliche Nachricht-----
Von: Stefan Bodewig []
Gesendet: Donnerstag, 23. Oktober 2003 09:57
Betreff: Re: Vote: <local> for 1.6

On Wed, 22 Oct 2003, Steve Loughran <> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message