A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
ANT tell telnet task problem
Joined: Aug 31, 2008
Oct 05, 2010 02:45:13
i am writing
script to call remove server by using telnet task. I wrote like ths
<telnet server="server name" userid="username" password="pass">
<write>chmod 777 *</write>
<write> rm -rf folder1</write>
<write>rm -rf test.ear</write>
Here my problem is i am not able to delete the folder and the ear file also.
But other operations are performing succsfully except deleting the files and folders.
Is there any other way to delete files and folders in the remote system by using ANT script???
Please let me know and help me urgently.
Thanks in advance
Joined: Jun 24, 2003
Oct 06, 2010 05:22:05
What errors are you getting back? If you perform the steps manually, does it work?
Cheers, Martijn -
The Well-Grounded Java Developer book!
subject: ANT tell telnet task problem
Telnet command using ant
Ant and Telenet
check whether files are used by other process
Problem with deploying a war file on tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015