----- Original Message ----- From: "Lyndon Samson" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, September 12, 2002 10:54 PM Subject: Re[2]: Telnet and tar -xvf
> Hello Julia, > > Have you tried putting all the commands in one shell script and just > using the telnet task to execute that script? > > This might help in diagnosing the problem. > > cheers > lyndon > or go one step further: put the commands in an ant script and run it remotely using telnet. if you d/l the sample code from java-dev-w-ant, we use this trick with a fairly convoluted process, I think its webapp/newdeploy where the work begins. I fear you'll need the book to understand its whole complexity because we -use a per-server properties file to list family of app server, ftp username and password &C -have a per-app-server deployment build file to run at the far end -upload the app-server specific deployment build file to the server (ftp) -run it (telnet). there is some stuff on setting up unix and dos prompts for reliability; '>' is too common in output of apps to work. -steve -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
