ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Consumer <faceless1...@yahoo.com>
Subject SCP Ant Syntax (was Contributing to Optional Tasks)
Date Fri, 21 Feb 2003 15:47:22 GMT
Here would be the resulting syntax changes for scp:

<scp file="/home/dude/file1.txt"
tofile="someuser:somepwd@somehost:/home/dude2/file1.txt"
port="22" />
 
<scp todir="someuser:somepwd@somehost:/home/dude2/>
    <fileset basedir="/home/dude/src">
       <include value="**/*.java"/>
    </fileset>
</scp>

<scp file="someuser:somepwd@somehost:/home/dude2/*"
todir="/home/dude/" port="22"/>

If I understand, file, todir, and tofile could refer
to remote resources with the user:pwd@host syntax.

thanks
charlie


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

Mime
View raw message