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:[EMAIL PROTECTED]
Gesendet: Donnerstag, 23. Oktober 2003 09:57
An: [EMAIL PROTECTED]
Betreff: Re: Vote: <local> for 1.6


On Wed, 22 Oct 2003, Steve Loughran <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to