Grokbase Groups Ant user July 2004
FAQ
I would like to use the telnet task to log on to a remote production server, run a script, capture it's "exit status" and then do stuff in my ant build file based on the value of that exit status. is it possible to do that?

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

Search Discussions

  • Mail.laconiadatasystems.com at Jul 15, 2004 at 12:58 am
    as long as the binary you are executing is non-interactive
    you can accomplish this functionality thru exec'ing the rsh command
    take a look at
    http://netadmintools.com/html/1rsh.man.html
    Martin

    ----- Original Message -----
    From: "Khehra, Sukh" <Sukh.Khehra@wsj.com>
    To: "'Ant Users List' (E-mail)" <user@ant.apache.org>
    Sent: Tuesday, July 13, 2004 9:22 AM
    Subject: test remote command status


    I would like to use the telnet task to log on to a remote production server,
    run a script, capture it's "exit status" and then do stuff in my ant build
    file based on the value of that exit status. is it possible to do that?

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


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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriesant
postedJul 13, '04 at 1:22p
activeJul 15, '04 at 12:58a
posts2
users2
websiteant.apache.org

People

Translate

site design / logo © 2022 Grokbase