ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [Vote] Copy task and remote files
Date Wed, 28 Nov 2001 10:25:22 GMT
On Tue, 27 Nov 2001, Magesh Umasankar <umagesh@apache.org> wrote:

> 1.  Let <copy> work on local files only.

+0

> 2.  Let <copy> work on local files as well as remote files.
> Remote files may be dynamically generated ones too.

+0

> 3.  <copy> must do all that <get> does.

including "ignoreerrors"? Rather not.

> 5.  Introduce new attribute "srcUrl" to identify the 
> source URL to copy from.

+0

> 6.  Overload "file" attribute such that it decides whether
> to treat value as a java.io.File or java.net.URL

-1 

for a different reason: JDK 1.1 doesn't really deal well with files
given as URLs.

> 7.  Provide "username" and "password" attributes to <copy> so that
> Basic authentication for http urls can be performed, when needed.

-1

> 8.  Introduce subelement <urlset> to be used within <copy>

+0

> 9.  If <urlset> is used, do not add the attributes url, username,
> password.

+1

> 10.  Throw build exception if URL patterns that don't make sense for
> copy are used - for example mailto:

let URLConnection do that.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message