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 kermitt <he...@genesys.com> on 2007/04/02 15:28:18 UTC
publish with vfs (ftp)
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?
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.
Re: publish with vfs (ftp)
Posted by DavidRobison <dr...@openroadsconsulting.com>.
I am having this same problem. I am using Ivy 2.1.0 and VFS 1.0. Has anyone
resolved this issue? Thanks, David
kermitt 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?
>
>
> thx
>
--
View this message in context: http://www.nabble.com/publish-with-vfs-%28ftp%29-tp9790692p24079736.html
Sent from the ivy-user mailing list archive at Nabble.com.
RE : publish with vfs (ftp)
Posted by Bourzeix,
Hervé <He...@Genesys.com>.
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/
Re: publish with vfs (ftp)
Posted by Xavier Hanin <xa...@gmail.com>.
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/