I did the test and I got the same issue... 
BTW when upgrading the commons-vfs jar, I got the following exception 

BUILD FAILED
java.lang.NoClassDefFoundError: 
org/apache/commons/vfs/provider/webdav/WebdavFileProvider

Removing the jar slide-webdavlib-20050629.161100.jar fix my issue but I still 
get :

BUILD FAILED
D:\javadev\src\mymod\build-common.xml:267: impossible to publish artifacts for 
[ genesys | mymod | 1.0 ]: org.apache.commons.vfs.FileSystemException: Could 
not create folder "ftp://usr:[EMAIL PROTECTED]/repository" because it already 
exists and is a file.


-----Original Message-----
From: Maarten Coene [mailto:[EMAIL PROTECTED]
Sent: lundi 2 avril 2007 22:42
To: [email protected]
Subject: Re: RE : publish with vfs (ftp)


I think this is a VFS bug.
Did you try this with the 1.0 release of VFS?
You can download this release here: 
http://jakarta.apache.org/site/downloads/downloads_commons-vfs.cgi

regards,
Maarten

----- Original Message ----
From: "Bourzeix, Hervé" <[EMAIL PROTECTED]>
To: [email protected]; [email protected]
Sent: Monday, April 2, 2007 9:16:33 PM
Subject: RE : publish with vfs (ftp)

I have a module located on a ftp :

ftp://usr:[EMAIL PROTECTED]/repository/org/module/jars/x-1.0.jar

I simply want to publish a new one:

ftp://usr:[EMAIL PROTECTED]/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:[EMAIL PROTECTED]
Date: lun. 02/04/2007 17:33
À: [email protected]
Objet : Re: publish with vfs (ftp)
 
On 4/2/07, kermitt <[EMAIL PROTECTED]> 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/






 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

Reply via email to