ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Is there a login "wait for password" target/task?
Date Tue, 24 Feb 2009 14:57:05 GMT
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 

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

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

View raw message