On 24/07/10 1:26 AM, Steve Appling wrote:
Adam, on 7/20 you moved the check for test.single to JavaBasePlugin. This
keeps it from being used on integration test tasks at a root project that
wouldn't typically use the Java or JavaBase plugin.
In particular, I had been using it on gradle's own integTest task to run and
debug single integration tests. I wasn't sure if you had considered this use
case.
I had, but I was thinking a little ahead of where we are now. The Test
class is included in the java plugin jar, and when we rework the plugin
system, you'll need to apply the JavaBasePlugin (explicitly or
implicitly) to make the class available in your build script. And so,
you won't be able to use it without applying the JavaBasePlugin and
thereby having the rule applied.
I've fixed the Gradle build so that -DintegTest.single works.
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email