On 29/07/2012, at 7:27 PM, Russel Winder wrote: > Luke, > > This email is not about uploading artefacts to a Maven repository, it is > about uploading tgz, zip and deb files to somewhere that requires > Webdav, i.e. Codehaus. > > For Gant to upload the distribution files to Codehaus, I used to use > WebDavResolver . This class got removed due to some contretemps with > HttpClient. 6 months ago there was a short exchange about this on the > Gradle user email list. You suggested then that there might be a way of > achieving the goal using HTTP Resolver. I looked around the Gradle API > docs and can't find anything about HTTPResolver. This may just be me > being bad at searching. Hopefully it is. > > Do you know of any paradigms and/or examples of doing this automated > uploading to a Webdav website?
The problem with using the HTTP resolver is that it doesn't create intermediate directories. There's some unsolved reports about using WebDavResolver, but we haven't gotten to the bottom of the issue. It seems to be some kind of dependency clash. Your best bet might be finding a WebDAV library and rolling your own upload task. -- Luke Daley Principal Engineer, Gradleware http://gradleware.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
