Re: [gradle-user] uploadLibs [SOLVED]

2009-04-17 Thread Hans Dockter
On Apr 16, 2009, at 6:46 PM, Paul Speed wrote: I'm late to the party on this one but in Java I've had similar problems and solved it with this class: http://meta-jb.svn.sourceforge.net/viewvc/meta-jb/trunk/dev/src/main/java/org/progeeks/util/ClassSpace.java?revision=3500&view=markup It's my

Re: [gradle-user] uploadLibs [SOLVED]

2009-04-16 Thread Paul Speed
I'm late to the party on this one but in Java I've had similar problems and solved it with this class: http://meta-jb.svn.sourceforge.net/viewvc/meta-jb/trunk/dev/src/main/java/org/progeeks/util/ClassSpace.java?revision=3500&view=markup It's my project so you have my permission to cut and paste

Re: [gradle-user] uploadLibs [SOLVED]

2009-04-16 Thread Hans Dockter
On Apr 16, 2009, at 5:45 PM, tog wrote: Hi Hans Yet I can live with this - the major problem being to have to switch between adding and removing the jars. They are required to upload dists but have to be removed for uploading to the maven repos. OK, you are using the Gradle WebdavResolver for

Re: [gradle-user] uploadLibs [SOLVED]

2009-04-16 Thread tog
Hi Hans Yet I can live with this - the major problem being to have to switch between adding and removing the jars. They are required to upload dists but have to be removed for uploading to the maven repos. I still believe the patch - and a dedicated slide jars would be the way to go on the short te

Re: [gradle-user] uploadLibs

2009-04-16 Thread Hans Dockter
On Apr 16, 2009, at 9:53 AM, Hans Dockter wrote: Hi Guillaume, On Apr 16, 2009, at 9:49 AM, Hans Dockter wrote: Hi Guillaume, On Apr 16, 2009, at 9:34 AM, tog wrote: Hi Hans Would that help if I provide a patch for wagon-webdav/ to make it work with httpclient 3.0.x ? Wagon-webdav us

Re: [gradle-user] uploadLibs [SOLVED]

2009-04-16 Thread Hans Dockter
On Apr 16, 2009, at 4:42 PM, tog wrote: Hi Hans I switched to the GMOD repos and it worked. Excellent. I'm relieved :) I hope you can live with this hack for some time until we come up with something solid. - Hans Thanks for your help Guillaume On Thu, Apr 16, 2009 at 10:08 PM, tog

Re: [gradle-user] uploadLibs [SOLVED]

2009-04-16 Thread tog
Hi Hans I switched to the GMOD repos and it worked. Thanks for your help Guillaume On Thu, Apr 16, 2009 at 10:08 PM, tog wrote: > Ok, > my repository was not declared properly. But still I have a problem > which I think is due to the fact I am uploading for the first time > (and probably some ne

Re: [gradle-user] uploadLibs

2009-04-16 Thread tog
Ok, my repository was not declared properly. But still I have a problem which I think is due to the fact I am uploading for the first time (and probably some needed directories are not existing) Now I have:     repository(url: 'dav:https://dav.codehaus.org/snapshots/groovy/') {     au

Re: [gradle-user] uploadLibs

2009-04-16 Thread tog
No pb Here is the new one. Any other suggestion ? Exception is: org.gradle.api.GradleScriptException: Build file '/Users/alleon/Documents/groovy/groovyws/build.gradle' Execution failed for task :uploadLibs. at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:185) at o

Re: [gradle-user] uploadLibs

2009-04-16 Thread Hans Dockter
On Apr 16, 2009, at 11:51 AM, tog wrote: Hi Hans No it failed again with this stacktrace. Do I need to add httpclient 2.x ? Sorry for all the hassle. Please try again after you have removed GRADLE_HOME/lib/webdavlib-2.0.jar. - Hans Cheers Guillaume Exception is: org.gradle.api.Grad

Re: [gradle-user] uploadLibs

2009-04-16 Thread tog
Hi Hans No it failed again with this stacktrace. Do I need to add httpclient 2.x ? Cheers Guillaume Exception is: org.gradle.api.GradleScriptException: Build file '/Users/alleon/Documents/groovy/groovyws/build.gradle' Execution failed for task :uploadLibs. at org.gradle.api.internal.Abstr

Re: [gradle-user] uploadLibs

2009-04-16 Thread Hans Dockter
Hi Guillaume, On Apr 16, 2009, at 9:49 AM, Hans Dockter wrote: Hi Guillaume, On Apr 16, 2009, at 9:34 AM, tog wrote: Hi Hans Would that help if I provide a patch for wagon-webdav/ to make it work with httpclient 3.0.x ? Wagon-webdav uses slide-webdav for the actual webdav handling. slid

Re: [gradle-user] uploadLibs

2009-04-16 Thread Hans Dockter
Hi Guillaume, On Apr 16, 2009, at 9:34 AM, tog wrote: Hi Hans Would that help if I provide a patch for wagon-webdav/ to make it work with httpclient 3.0.x ? Wagon-webdav uses slide-webdav for the actual webdav handling. slide- webdav is the one that need 2.0 and only 2.0. And slide-webdav

Re: [gradle-user] uploadLibs

2009-04-16 Thread tog
Hi Hans Would that help if I provide a patch for wagon-webdav/to make it work with httpclient 3.0.x ? Actually - how do you osgify a project ? .. I am having the same problem with GroovyWS when used

Re: [gradle-user] uploadLibs

2009-04-16 Thread Hans Dockter
Hi Guillaume, On Apr 16, 2009, at 9:09 AM, tog wrote: Well the doc is referenceing webdav as a protocol ! Should I create the directories by myself like I deed for the snapshots ? What the stacktrace usefull to the Gradle gurus ? there is a problem ): We run into a classpath conflict betw

Re: [gradle-user] uploadLibs

2009-04-16 Thread tog
Well the doc is referenceing webdav as a protocol ! Should I create the directories by myself like I deed for the snapshots ? What the stacktrace usefull to the Gradle gurus ? Best Regards Guillaume On Thu, Apr 16, 2009 at 12:51 AM, Russel Winder < russel.win...@concertant.com> wrote: > On Thu

Re: [gradle-user] uploadLibs

2009-04-15 Thread Russel Winder
On Thu, 2009-04-16 at 00:37 +0800, tog wrote: > Humm > > Forgot to mention that I have: > > dependencies { > ... > deployerJars "org.apache.maven.wagon:wagon-webdav:1.0-beta-2" > } > > And that deployment are ok, if : >1-I create all the repositories (this is what I have done in the > s

Re: [gradle-user] uploadLibs

2009-04-15 Thread tog
Humm Forgot to mention that I have: dependencies { ... deployerJars "org.apache.maven.wagon:wagon-webdav:1.0-beta-2" } And that deployment are ok, if : 1-I create all the repositories (this is what I have done in the snapshot repo) 2- I use https as protocol Cheers Guillaume On Thu,

Re: [gradle-user] uploadLibs

2009-04-15 Thread tog
Hi Hans, It is time for my release :) but I am still having difficulties with dav to publish in the codehaus repo. Here is the exception: Execution failed for task :uploadLibs. Cause: Error deploying artifact 'org.codehaus.groovy.modules:groovyws:jar': Error deploying artifact: Unsupported Protoco

Re: [gradle-user] uploadLibs

2009-04-07 Thread Hans Dockter
On Apr 6, 2009, at 6:26 PM, tog wrote: Hans Yep but doing this: uploadLibs { uploadResolvers.addMavenDeployer('repo-deployer') { addProtocolProviderJars(dependencies.resolve('deployerJars')) repository(url: "file:///tmp/repository/groovy/") snapshotRepository(url:

Re: [gradle-user] uploadLibs

2009-04-06 Thread Hans Dockter
On Apr 6, 2009, at 6:26 PM, tog wrote: Hans Yep but doing this: uploadLibs { uploadResolvers.addMavenDeployer('repo-deployer') { addProtocolProviderJars(dependencies.resolve('deployerJars')) repository(url: "file:///tmp/repository/groovy/") snapshotRepository(url:

Re: [gradle-user] uploadLibs

2009-04-06 Thread tog
Hans Yep but doing this: uploadLibs { uploadResolvers.addMavenDeployer('repo-deployer') { addProtocolProviderJars(dependencies.resolve('deployerJars')) repository(url: "file:///tmp/repository/groovy/") snapshotRepository(url: "file:///tmp/snapshots.repository/groovy/"

Re: [gradle-user] uploadLibs

2009-04-06 Thread Hans Dockter
On Apr 6, 2009, at 6:16 PM, Russel Winder wrote: Guillaume, I used to think this using the Maven Ant task from Gant to upload Gant to the Maven repository, then all of a sudden it just started creating the directories as needed. I have no idea what changed, but as it now works I didn't invest

Re: [gradle-user] uploadLibs

2009-04-06 Thread Russel Winder
Guillaume, I used to think this using the Maven Ant task from Gant to upload Gant to the Maven repository, then all of a sudden it just started creating the directories as needed. I have no idea what changed, but as it now works I didn't investigate. Clearly Gradle needs the same fairy dust. On