ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bourzeix, Hervé <Herve.Bourz...@Genesys.com>
Subject RE : publish with vfs (ftp)
Date Mon, 02 Apr 2007 19:16:33 GMT
I have a module located on a ftp :

ftp://usr:pass@host/repository/org/module/jars/x-1.0.jar

I simply want to publish a new one:

ftp://usr:pass@host/repository/org/module/jars/x-2.0.jar

but vfs complains with :

Caused by: org.apache.commons.vfs.FileSystemException: Could not create
 folder "ftp://myhost/repository" because it already exists and is a file.


do you think this is a bug ? 


-------- Message d'origine--------
De: Xavier Hanin [mailto:xavier.hanin@gmail.com]
Date: lun. 02/04/2007 17:33
À: ivy-user@incubator.apache.org
Objet : Re: publish with vfs (ftp)
 
On 4/2/07, kermitt <herve.bourzeix@genesys.com> wrote:
>
>
> Hi,
>
> I tried to publish with a vfs resolver using ftp protocol and I got :
>
> Caused by: org.apache.commons.vfs.FileSystemException: Could not create
> folder "ftp://myhost/repository" because it already exists and is a file.
>
> That is true, I want to publish a new version of the artifact.
>
> Is there a workaround?


You mean that you would like to overwrite the existing file? I guess you've
already set overwrite=true, so it seems to be a bug in the vfs resolver.
Could you open a JIRA issue with more details on your settings and your call
to publish?

- Xavier

thx
> --
> View this message in context:
> http://www.nabble.com/publish-with-vfs-%28ftp%29-tf3505723.html#a9790692
> Sent from the ivy-user mailing list archive at Nabble.com.
>
>


-- 
Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
Manage your dependencies with Ivy!
http://incubator.apache.org/ivy/


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message