Peter,

On Sat, 2010-02-06 at 10:52 +0000, Peter Ledbrook wrote:
> > I've come across this bug:
> >
> >  http://jira.codehaus.org/browse/GRADLE-810
> >
> > It exhibits when the Gradle cache is clean and I suspect it has
> > something to do with the java.net repository. Anyway, there is a test
> > project attached to the issue. If someone has an opportunity to take a
> > look, that would be great. It's almost a blocker for the Grails
> > plugin.
> 
> This was a mistake on my part. I had:

I am not sure this is a mistake on your part . . . 

>   buildscript {
>       repositories {
>           mavenCentral()
>           mavenRepo urls: [
> 'http://snapshots.repository.codehaus.org',
> 'http://download.java.net/maven/2/' ]
>       }

I thought this was perfectly reasonable as well.  the whole reasons why
the key is urls and not url is that you can provide a list of URLs or a
single one.

So whatever the actual situation, there are some problems here for
Gradle.

>       dependencies {
>           classpath "org.grails:grails-gradle-plugin:1.0-SNAPSHOT"
>       }
>   }
> 
> I misunderstood the mavenRepo() syntax. Changing it to:
> 
>           mavenRepo urls: 'http://snapshots.repository.codehaus.org'
>           mavenRepo urls: 'http://download.java.net/maven/2/'
> 
> fixed the problem. However, it took a lot of debugging to find out
> what the problem was, so how about some sort of error or warning
> message?
> 
> Cheers,
> 
> Peter

-- 
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