I'm trying to find an Ant task that will let me work with a command-line program with multiple read/writes.

The problem I've run into is how to communicate with this program locally. For remote servers, I can use the <telnet> Ant task to telnet to the remote machine, start up the and send the commands. Locally, there's no Ant task that I know of which can do *multiple *reads and writes to a program/shell/console. The only solution I've found so far is to actually telnet into the local machine, which allows me to use the <telnet> Ant task.

An example of what I mean:

<read>myprompt:</read>
<write>dosomething</write>
<read>Response from dosomething</read>
<write>dosomething2</write>
<read>Response from dosomething2</read>

Thanks,
Shay


--

... hey, it works on my machine.

Shay Thompson - Lead Computer Scientist
Adobe Systems, Inc. - Titan Core QE Voice: x34728 or 612.251.5415

Reply via email to