You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Bourzeix,
Hervé <He...@Genesys.com> on 2007/04/02 21:16:33 UTC
RE : publish with vfs (ftp)
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 <he...@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/