ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: SCP support in ANT 1.5
Date Thu, 03 Mar 2005 22:37:24 GMT

Use a native SCP client and do something like this....

<exec dir="." executable="${scp}" failonerror="true">
    <arg path="${file}"/>
    <arg value="${username}"/>

I have a global that I import in all build files that is
stored in my user.home directory which has "scp=pscp".  The "pscp" program is
an SCP client is from the Putty project (yes, I'm using Windows).  In any case,
no matter the platform, you can always specify whichever SCP client you want by
changing the property.  Don't forget to put the directory containing the
specified SCP client in your system path.


Quoting "Balasinorwala, Murtuza J." <>:

> Hello,
>      Does ANT 1.5 support scp task? Is there a jar available that I can use
> to implement the scp task in my existing scripts.
> Thanks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message