ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject commons-vfs and <v-copy> [was Re: help with ftp task]
Date Tue, 23 Dec 2003 04:41:54 GMT
At 01:18 AM 12/21/2003 +0100, you wrote:
>Jacob Kjome wrote:
>>At 01:48 PM 12/20/2003 +0100, you wrote:
>>>Hi Jakob,
>>>you cannot specify how you are going to name a file that you are 
>>>downloading with the "ftp" task.
>>>you might want to have a look at the "common-vfs" sandbox project of 
>>Awesome.  Thanks Antoine!  I didn't know that existed.  I tested vfs 
>><v-copy> and it downloaded from http and ftp with the same syntax.
>>Exactly what I was looking for!!!
>Hi Jake,
>if you want to contribute more, it might be interesting to learn about 
>this common-vfs project. I am wondering whether it could be used as the 
>foundation of a more powerful ant,
>able to copy seamlessly from a CVS repository to entries in a jar file, or 
>from a ftp remote directory to entries on a JNDI server, ....
>Just a thought at the moment, because I really know almost nothing about 

Yes, it certainly sounds like somewhat of a panacea.  Unfortunately, 
further testing shows that there is a bug in, at least, the <v-copy> task 
where if you use the same named destfile more than one time when copying 
during the same ant session, an error is reported that copying to the file 
failed because the file currently exists and is read-only even though I 
explicitly deleted it.  So, in its current state, it is of little use to me 
and I have had to fall back to the <get> task and forgo ftp:// URL 
support.  Hopefully that will be fixed soon.  Here is a link to a message I 
sent to the jakarta-commons-user list for your reference....


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

View raw message