ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: SCP in Ant
Date Tue, 01 Jul 2008 18:19:22 GMT
Set the trust="true"

See the doc for more details...

http://ant.apache.org/manual/OptionalTasks/scp.html

-Rob Anderson

-----Original Message-----
From: Chris Green [mailto:chris.green100@googlemail.com] 
Sent: Tuesday, July 01, 2008 10:12 AM
To: Ant Users List
Subject: Re: SCP in Ant

Thanks, that seems to have worked with the jsch.jar but I'm now getting
an
error message :-

*com.jcraft.jsch.jschexception: java.net.UnknownHostException*
The appropriate piece of code I am using is :-

                *<scp file="c:/build/oim/dist/VT-Aut/VT-Aut.jar" todir="
username:password@//10.68.7.7:
/u01/app/oracle/product/9.1.0/oim/xellerate/ScheduleTask"/>*
**
Any ideas ?

Chris

On Tue, Jul 1, 2008 at 6:37 PM, Matt Benson <gudnabrsam@yahoo.com>
wrote:

> http://ant.apache.org/manual/install.html#librarydependencies
>
> --- Chris Green <chris.green100@googlemail.com> wrote:
>
> > I'm trying to SCP some files to a remote server and
> > the message that I'm
> > getting back implies I'm missing an external jar
> > from my system to be able
> > to use the SCP function.
> >
> > Anyone any idea which this may be ?
> >
> > Chris
> >
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message