Dick, Brian E. wrote:
I have just a day to get this working. These are production machines, so
I can't deploy anything to them.
I'm using sshexec to remotely ping from a unix host and using rcmd to
remotely ping from a windows host. I redirect the output from these
tasks to a file and then use loadfile with a filterchain to load the
ipaddress into a property.
This works all fine and dandy except I need to do it in a loop, so that
led me to the script task. But I was having problems getting the
ipaddress set by loadfile back to the script. I didn't want to create
20x100 properties, but if that's what it takes, so be it.
In that case, grab the <var> task from ant-contrib, which can be used to
erase a property before you reuse it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]