RE: scp Failing--Using scp1?

2006-06-21 Thread Rebhan, Gilbert
Since i only had trouble to get my ssh parts working with JSch - it just didn't work - i've tried the maverick ssh task and it works now :-) The task has also a nice sftp feature Maybe it works for you also see = http://3sp.com/products/maverick-ant/maverick-ant.jsp you may use your already

Re: scp Failing--Using scp1?

2006-06-21 Thread Antoine Levy-Lambert
Hi, can you open the URL http://ant.apache.org/mail.html. How to unsubscribe is explained there. Regards, Antoine Mallik Kandula wrote: > Can someone please remove me from this list. I am using my hotmail > account and "unsubscribe" is not helping as this is HTML by default > and i cant contro

Re: External Tools and Tasks page - xmltask

2006-06-21 Thread Antoine Levy-Lambert
Hello Brian, change committed, regards, Antoine Brian Agnew wrote: > Hi, > > Can someone be so kind as to change the registered web address for > xmltask on the http://ant.apache.org/external.html page ? > > Old address : http://www.oopsconsultancy.com/software/xmltask.html > New address: http:

RE: scp Failing--Using scp1?

2006-06-21 Thread Mallik Kandula
Can someone please remove me from this list. I am using my hotmail account and "unsubscribe" is not helping as this is HTML by default and i cant control the output format as "text". Many thanks ! From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant

RE: scp Failing--Using scp1?

2006-06-21 Thread Anderson, Rob (Global Trade)
You don't need keys to use the scp task. And if the sshexec task works fine, I doubt that this is your problem. -Rob A > -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 21, 2006 3:54 PM > To: Ant Users List > Subject: Re: scp Failing--Using scp1

Too eager filterset execution?

2006-06-21 Thread Steve Byrne
Hi all. I have a rather convoluted situation that I think is exposing a bug in 1.6.5. Basically, from my main build script, I invoke a custom task that I have written. During the course of the execution of the task, it creates a CallTarget and calls a target back in the main script. The main

Re: scp Failing--Using scp1?

2006-06-21 Thread Martin Gainty
Aaron- It sounds as if you havent et generated any keys Puttygen will generate a public/private key pair you can use for SSH tasks based on the type of key you wish to generate e.g. SSH1 RSA SSH2 RSA SSH2 DSA HTH, Martin -- * Th

RE: scp Failing--Using scp1?

2006-06-21 Thread Anderson, Rob (Global Trade)
What ssh server software are you using? Check out bug 39373... http://issues.apache.org/bugzilla/show_bug.cgi?id=39373 I would suggest getting a nightly build and the latest jsch.jar and then set the new sftp attribute to true in your build.xml. -Rob A > -Original Message- > From: Aaron

scp Failing--Using scp1?

2006-06-21 Thread Aaron Davies
The scp task is failing with a "No response from server" exception; the same host responds just fine to an sshexec. I've tried manually scp'ing a file to the server, and it complains that scp1 is missing, but I would think the scp task would be using SSH2 via JSch. Is it not? Is there a way to for

RE: RE: RE: rexec hangs

2006-06-21 Thread Lu, Tao (MTO)
These are the external jars: $ANT_HOME/lib/commons-net-1.4.1.jar $ANT_HOME/lib/jakarta-oro-2.0.8.jar Actually my custom Ant task doesn't use commons-net and jakarta-oro. Instead, this is the open source api I used. Very simple, just 3 plain java classes. http://www.jcraft.com/jrexec/ Thanks! C

Re: RE: RE: rexec hangs

2006-06-21 Thread Antoine Levy-Lambert
Hello, I think that the rexec functionality in ant is delivered by commons-net. Which version of commons-net were you using ? Also, if your custom client works, then there is a bug in ant or a bug in commons-net. Regards, Antoine Original-Nachricht Datum: Wed, 21 Jun 2006 13

RE: RE: rexec hangs

2006-06-21 Thread Lu, Tao (MTO)
I used the default value for timeout which is "no timeout". Also I tried to set it to "5 secs", I got the same result. Anyways, I just wrote my own REXEC client(Java), and wrapped it as custom Ant task, everything is working fine. Cheers, Tao -Original Message- From: Martin Gainty [ma

Re: RE: rexec hangs

2006-06-21 Thread Martin Gainty
Bonjour/Hello- My first instinct was to say set fork="true" but that options doesnt exist ..at least not yet! What is your To: "'Ant Users List'" Sent: Wednesday, June 21, 2006 10:26 AMWhats t Subject: RE: RE: rexec hangs > Sorry for the confusion. The actually ant task I was trying to execut

Re: Can we pass parameter to Ant target?

2006-06-21 Thread Scot P. Floess
Nice solution :) Anderson, Rob (Global Trade) wrote: Often there are a set of properties you might use with a given environment. I suggest creating a properties file for each environment like so... localhost.properties = ip.address=100.10.0.48 deploy.path=/usr/local/tomcat/w

RE: Can we pass parameter to Ant target?

2006-06-21 Thread Anderson, Rob (Global Trade)
Often there are a set of properties you might use with a given environment. I suggest creating a properties file for each environment like so... localhost.properties = ip.address=100.10.0.48 deploy.path=/usr/local/tomcat/webapps remote.user=tomcat Then in your build.xml you wo

RE: RE: rexec hangs

2006-06-21 Thread Lu, Tao (MTO)
Sorry for the confusion. The actually ant task I was trying to execute is I mistakenly place "localhost" in my previous email. Any clue? Thanks in advance! Tao -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: June 21, 2006 5:50 AM To: Ant Users List Subject: R

Re: AW: how to unsubscribe [WAS Re: RE: rexec hangs]

2006-06-21 Thread Antoine Levy-Lambert
Cool ! Antoine Original-Nachricht Datum: Wed, 21 Jun 2006 07:38:40 +0200 Von: [EMAIL PROTECTED] An: user@ant.apache.org Betreff: AW: how to unsubscribe [WAS Re: RE: rexec hangs] > Strike - after a few days full ROI ;-) > > Jan > > >-Ursprüngliche Nachricht- > >Von: An

Re: External Tools and Tasks page - xmltask

2006-06-21 Thread Brian Agnew
Sorry. That was misleading. To clarify: Old address : http://www.oopsconsultancy.com/software/xmltask.html New address: http://www.oopsconsultancy.com/software/xmltask/ Brian Brian Agnew wrote: Hi, Can someone be so kind as to change the registered web address for xmltask on the http://ant.a

External Tools and Tasks page - xmltask

2006-06-21 Thread Brian Agnew
Hi, Can someone be so kind as to change the registered web address for xmltask on the http://ant.apache.org/external.html page ? Old address : http://www.oopsconsultancy.com/software/xmltask.html New address: http://www.oopsconsultancy.com/software/xmltask/

Re: Can we pass parameter to Ant target?

2006-06-21 Thread Scot P. Floess
Ben: Good point ;) Was a wee bit early when I responded :) Scot Ben Stringer wrote: On Wed, 2006-06-21 at 06:57 -0400, Scot P. Floess wrote: You can sorta do that if you use -D's to define property values. For instance: ant -Dserver=localhost deploy Then you can use: ${server} in you

Re: Can we pass parameter to Ant target?

2006-06-21 Thread Ben Stringer
On Wed, 2006-06-21 at 06:57 -0400, Scot P. Floess wrote: > You can sorta do that if you use -D's to define property values. > > For instance: > > ant -Dserver=localhost deploy > > Then you can use: > > ${server} > > in your ant script... > > Or you can use a property file as well... Or envir

Re: Can we pass parameter to Ant target?

2006-06-21 Thread Scot P. Floess
You can sorta do that if you use -D's to define property values. For instance: ant -Dserver=localhost deploy Then you can use: ${server} in your ant script... Or you can use a property file as well... wolverine my wrote: Hi! Is it possible to pass parameters/arguments to a Ant target? F

Can we pass parameter to Ant target?

2006-06-21 Thread wolverine my
Hi! Is it possible to pass parameters/arguments to a Ant target? For an example, ant deploy localhost where we specify the deployment server as a parameter when invoking the "deploy" target. The "localhost" could be another property defined in the build file, -

Re: RE: rexec hangs

2006-06-21 Thread Petar Tahchiev
On 20/06/06, Lu, Tao (MTO) <[EMAIL PROTECTED]> wrote: In command prompt, I issued "telnet 142.142.125.60 512", no error messages, I got a blank DOS screen. I believe port 512 is already open. Btw, if I run this locally C:\>rexec 142.142.125.60 -l bob ls -l It works fine. Thanks Tao -Or