ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <dan...@germane-software.com>
Subject Re: SCP Ant Syntax
Date Tue, 25 Feb 2003 03:42:47 GMT
I also meant to ask about support for filesets in scp. Does your scp 
task support them? Something like:

<scp from="local" to="user@host:/dir">
    <fileset dir="somedir">
        <include name="somedir"/>
    </fileset>
</scp>

Thanks,

Dale


Joe Consumer wrote:

>Why not have the syntax be optional?  For example,
><scp file="host:/home/chuck/*" todir="/home/gus"
>identity="${user.dir}/.ssh/identity" passphrase="You
>know it" />
>
>vs.
>
><scp file="user:pwd@host:/home/chuck/*"
>tofile="/home/gus" />
>
>It would basically be looking for an '@' character
>then if it's not there checking for RSA certificates
>and passphrases.
>
>For RSA auth, you don't need a user name or password. 
>Just your RSA certificiate and passphrase.  This is
>very similiar to how SCP works on the command line,
>and it would be familiar to users.
>
>BTW, I tried sending some code to the list, and I was
>rejected for being greater than 100K.  All I need now
>is some tests for the task.  Documentation, the code,
>and renamed packages are done.  I was going to send it
>to the list for people to try out before I actually
>submit it.
>
>charlie
>
>The code would simply parse the file/tofile
>  
>
>>ATTACHMENT part 10 message/rfc822 
>>To: dev@ant.apache.org
>>Subject: Re: SCP Ant Syntax (was Contributing to
>>Optional Tasks)
>>From: Stefan Bodewig <bodewig@apache.org>
>>Date: 24 Feb 2003 08:51:07 +0100
>>
>>On Fri, 21 Feb 2003, Rob H. Anderson
>><Anderson.Rob@vectorscm.com>
>>wrote:
>>
>>    
>>
>>>Perhaps we should break host, user and password
>>>      
>>>
>>into their own
>>    
>>
>>>field...
>>>      
>>>
>>If you split host out of the file/tofile attribute,
>>you'll need a way
>>to specify which side is the remote side (in the
>>single file case).
>>
>>Stefan
>>
>>    
>>
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - forms, calculators, tips, more
>http://taxes.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>  
>


Mime
View raw message