On 19/10/2010, at 8:06 AM, Tomek Kaczanowski wrote:

> Hello All,
> 
> this used to work with Gradle (I think with some previous 0.9):
> test {
>    useTestNG()
>    systemProperties ["net.sourceforge.cobertura.datafile": cobSerFile]
> }
> 

I can't get this to work with any version of Gradle, any chance you can 
remember which version this worked on?

This, on the other hand, works from 0.9-preview-1 onwards:

test {
    systemProperties "net.sourceforge.cobertura.datafile": cobSerFile
}

ie with the [ ], Groovy thinks you're trying to index into the systemProperties 
property and fails. Without the [ ], Groovy is happy.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to