ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Contributing SCP to optional task
Date Thu, 20 Feb 2003 17:01:55 GMT
On Thu, 20 Feb 2003, Joe Consumer <faceless1976@yahoo.com> wrote:

> What should the package structure be for these files?
> Should it be a subpackage of org.apache.tools.ant.*?

org.apache.tools.ant.taskdefs.optional.ssh

would be my preference.  ...optional.net works for me as well.

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

I'd like to see

from -> file
to -> either tofile or todir depending on context

this would mirror <copy>.

Stefan

Mime
View raw message