RE: using telnet in ant 1.6.1

2004-05-05 Thread Artemis Ozten
Yes, that part of the message was cut, I was wrongly re-typed... Please ignore. -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 2:25 PM To: Ant Users List Subject: Re: using telnet in ant 1.6.1 - Original Message - From: "Artemis Ozten" <[

RE: using telnet in ant 1.6.1

2004-05-05 Thread Artemis Ozten
I downloaded commons-net-1.2.0.jar and jakarta-oro-2.0.8.jar to ANT_HOME/lib folder and everything worked. Thank you. Additional information: The ant failed one more time because it could not find task "foreach" in ant 1.6.1 libraries. To get that working; I downloaded ant-contrib-0.6.jar from ht

Re: using telnet in ant 1.6.1

2004-05-05 Thread Rhino
- Original Message - From: "Artemis Ozten" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 05, 2004 2:23 PM Subject: using telnet in ant 1.6.1 | I have been using ant 1.5.4 and telnet task just fine in MS Windows. I | upgraded to ANT 1.6.1 and my telnet task fails: |

RE: Echo a patternset

2004-05-05 Thread Mani G. Iyer
Jan: Thanks. Learnt something new today. mani -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 3:23 AM To: [EMAIL PROTECTED] Subject: RE: Echo a patternset Define a property and use the refid: fileset: ${fs.v

RE: using telnet in ant 1.6.1

2004-05-05 Thread raghu.changlaveedu
The optional.jar has been replaced with ant-xyz.jars (xyz stands for the external lib/jar) in 1.6.1. So I reckon you dont need the optional.jar in 1.6.1. Instead add two more jars to it. They are commons-net-1.1.0.jar(1.2.0 is the latest)and jakart-oro-2.0.8.jar. Then try out. You can find the

RE: using telnet in ant 1.6.1

2004-05-05 Thread Conelly, Luis (GNF, Contractor)
With ant 1.6.1 you need new libraries... see http://ant.apache.org/manual/install.html#librarydependencies Be aware of comments in http://ant.apache.org/manual/OptionalTasks/ftp.html Regards, Luis -Original Message- From: Artemis Ozten [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05,

using telnet in ant 1.6.1

2004-05-05 Thread Artemis Ozten
I have been using ant 1.5.4 and telnet task just fine in MS Windows. I upgraded to ANT 1.6.1 and my telnet task fails: C:\dev\build\remoteTarget.xml:207: Could not create task or type of typo Ant could not find the task or a class this task relies upon. This is common and has a number of ca

RE: SSH based tasks?

2004-05-05 Thread Anderson, Rob (Global Trade)
The sshexec task was written to remotely execute commands via ssh, similar to the following... ssh [EMAIL PROTECTED] 'command arg' You can also run multiple commands by separating them with a ";". -Rob Anderson > -Original Message- > From: S. Alan Ezust [mailto:[EMAIL PROTECTED] > Sent

Re: SSH based tasks?

2004-05-05 Thread S. Alan Ezust
You want to run an interactive remote shell through ssh from an ant script? Why not just run a non-interactive shell script (which could run an ant script for example) via ssh that does what you want on the other end? That might be easier... You can generate the file and scp it over there, and