Hans,

On Tue, 2010-03-23 at 20:22 +0100, Hans Dockter wrote:
> 
[ . . . ]
>         
> 
> What exactly do you need to achieve? The above would be for publishing
> the gant jar to the codehaus Maven repos.
> 
> The stacktrace below indicates a problem with uploading the Gant
> distribution to the codehaus distribution repositories.
> 
I had got my reports a bit confused in that I was reporting the code for
uploading on thing and the stacktrace from another, apologies for that.
However I have a real problem.  The issue is uploading tarball and zip
distributions to the (snapshot) distribution site at Codehaus, and
uploading artefacts to the (snapshot) Codehaus Maven repository.  Both
of these were giving me issues resulting in the same stack traces --
probably because there is the same underlying issue.

The recent "breaking change" in the apply function "id -> plugin" as the
key name, made me revert back to using Gradle Wrapper
0.9-20100226145830+1100  for the build and the upload seems to have been
successful -- well of artefacts anyway, I haven't tried distributions
yet.

So there is something about the changes since that wrapper release that
I have not taken into account or there are problems in the Gradle code
since.

I find the URLs "dav:https://dav.codehaus.org/. . . " do not work with
the wrapper I had to revert to "http://dav.codehaus.org/. . ."  Then the
uploads were successful, at least to the snapshots repository.  Moreover
the problems I was seeing with the :groovydoc and :javadoc tasks have
gone away.

I will continue now with my policy of tracking the wrapper version used
by Gradle itself and for now this works for Gant -- although Gradle
Trunk does not.  Once there is a formal change of wrapper for Gradle I
will reinvestigate all these issues.

Thanks.
-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to