ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhino" <>
Subject Re: Looking for an Ant Task
Date Sun, 05 Mar 2006 23:39:33 GMT
I've just reread your question for the third time and I still don't think I 
get it. It sounds to me like you are "talking around" the problem, not 
describing the actual problem.

What exactly are you trying to do? You're talking about needing "multiple 
reads and writes" but I haven't a clue WHAT you are trying to read or write.

What specific command-line program are you trying to use here? Why does your 
solution for remote machines not work for local machines?

And what's wrong with the telnet solution you describe if it gets the job 
done? Is it just not elegant enough? It's perfectly valid to find a more 
elegant solution if the one you have is clunky; I'm just trying to figure 
out if the existing solution works at all or if you in big trouble because 
you can't get something to work at all, even badly.

What operating system are you on and which Ant version are you using? That 
can make a difference to the answer sometimes.


----- Original Message ----- 
From: "Shay Thompson" <>
To: <>
Sent: Sunday, March 05, 2006 6:13 PM
Subject: Looking for an Ant Task

> 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


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03/03/2006

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 03/03/2006

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

View raw message