Re: Is there a login "wait for password" target/task?

2009-02-25 Thread Steve Loughran
Scott Stark wrote: asks for entry of some string; it doesn't 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 component can do that I looked at telnet, which is why I thought there might

Re: Is there a login "wait for password" target/task?

2009-02-24 Thread David Weintraub
Ah! You have Perforce security set to level 3, so you can't pass the password via the command line or via the P4PASSWD environment variable. However, you can pass the Perforce ticket via the command line, so you could still use getoptions. See

Re: Is there a login "wait for password" target/task?

2009-02-24 Thread Scott Stark
> asks for entry of some string; it doesn't 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 component can >do that I looked at telnet, which is why I thought there might be something si

Re: Is there a login "wait for password" target/task?

2009-02-24 Thread Steve Loughran
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 paramet

Re: Is there a login "wait for password" target/task?

2009-02-23 Thread Scott Stark
>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

Re: Is there a login "wait for password" target/task?

2009-02-23 Thread David Weintraub
Sorry for picking this up late. Exactly what are you doing? Ant has optional Perforce tasks, and these tasks use the globalopts setting, so you can pass a password though that. Can you use these to do what you want? On Fri, Feb 20, 200

RE: Is there a login "wait for password" target/task?

2009-02-23 Thread Kajsa.Anderson
ry 23, 2009 9:44 AM > To: Ant Users List > Subject: RE: Is there a login "wait for password" target/task? > > > flat file with Perforce username/password sounds like a > security vulnerability.. > is there a way to do a hash encrypt on the

RE: Is there a login "wait for password" target/task?

2009-02-23 Thread Martin Gainty
to be saved for a year. I guess > it's not quite zero intervention, but it's close enough to zero for us. > :) > > Kajsa > > > > -Original Message- > > From: Scott Stark [mailto:sst...@us.ibm.com] > > Sent: Saturday, February 21, 2009 10:02 A

RE: Is there a login "wait for password" target/task?

2009-02-23 Thread Kajsa.Anderson
tark [mailto:sst...@us.ibm.com] > Sent: Saturday, February 21, 2009 10:02 AM > To: Ant Users List > Subject: RE: Is there a login "wait for password" target/task? > > > For our Perforce tasks that we've automated with Ant, we login once > > outside the script, and ju

RE: Is there a login "wait for password" target/task?

2009-02-23 Thread Rinehart, Raleigh
> > > For our Perforce tasks that we've automated with Ant, we login once > > outside the script, and just save the login ticket that perforce > > creates. Is that an option? > > > Kajsa Anderson > > Alas, no -- we can to that too, but I'm try to set up an automated nightly > build that require

RE: Is there a login "wait for password" target/task?

2009-02-21 Thread Scott Stark
> For our Perforce tasks that we've automated with Ant, we login once > outside the script, and just save the login ticket that perforce > creates. Is that an option? > Kajsa Anderson Alas, no -- we can to that too, but I'm try to set up an automated nightly build that requires zero human interve

RE: Is there a login "wait for password" target/task?

2009-02-21 Thread Kajsa.Anderson
ruary 20, 2009 12:02 PM > To: Ant Users List > Subject: Re: Is there a login "wait for password" target/task? > > > > > I noticed the task automates a remote telnet > session, using > > and to indicate strings to wait for and > specify text to >

Re: Is there a login "wait for password" target/task?

2009-02-20 Thread Scott Stark
> Hello Scott, FWIF maybe this link can help: http://www.jera.com/tools/anttasks/. 8) David. Thanks David, but not quite what I'm looking for -- sorry I wasn't clear. I do want the script to pass the login and password (without being prompted), to an application that prompts and waits for input.

Re: Is there a login "wait for password" target/task?

2009-02-20 Thread david
Hello Scott, FWIF maybe this link can help: http://www.jera.com/tools/anttasks/. 8) David. Scott Stark wrote .. > > I noticed the task automates a remote telnet session, using > and to indicate strings to wait for and specify text to send. > > Is there any more generic task that can do this?

Re: Is there a login "wait for password" target/task?

2009-02-20 Thread Brian Pontarelli
I noticed the task automates a remote telnet session, using and to indicate strings to wait for and specify text to send. Is there any more generic task that can do this? I'm trying to access a remote db system that prompts for a password. (Actually it's Perforce, but I didn't see any