Scott Stark wrote:
Ant has optional Perforce tasks, and these tasks use the globalopts
setting, so you can pass a password though that.

Hi David, yes I saw that but couldn't find anything that does what I want.
Our Perforce install does not allow you to pass a password as a command
line parameter -- it stops and prompts for human input. I was wondering if
there was a way for Ant to wait for a text string such as "pass:" and send
the password.

thanks,
Scott


<input> asks for entry of some string; it doesnt ask if the property is already set, so for CI servers you set it up with login details for that account.

For talking to a nested shell script, I think the <telnet> component can do that

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to