Re: [gradle-user] configuring test task in 0.9-preview-1

2010-06-01 Thread Hans Dockter
On Tue, Jun 1, 2010 at 6:43 AM, Adam Murdoch a...@gradle.biz wrote: On 1/06/10 1:29 AM, szczepiq wrote: Hey guys, I cannot get include/exclude to work with 'test' task. Here's my gradle: ant.importBuild 'build.xml' usePlugin 'java' test { testClassesDir =

Re: [gradle-user] configuring test task in 0.9-preview-1

2010-06-01 Thread szczepiq
Thanks Adam, this explains a lot. I looked again in the docs and it is exactly as you say - sorry for not reading it well enough :) Things like this make me wonder whether dynamic properties for tasks (and projects) are actually a bad idea. Interesting. The mistake on my part is mostly because

[gradle-user] configuring test task in 0.9-preview-1

2010-05-31 Thread szczepiq
Hey guys, I cannot get include/exclude to work with 'test' task. Here's my gradle: ant.importBuild 'build.xml' usePlugin 'java' test { testClassesDir = file('../automatedbuild/classes') scanForTestClasses = false include = '**/CreditLimitsTest.class' forkEvery = null exclude =

Re: [gradle-user] configuring test task in 0.9-preview-1

2010-05-31 Thread Adam Murdoch
On 1/06/10 1:29 AM, szczepiq wrote: Hey guys, I cannot get include/exclude to work with 'test' task. Here's my gradle: ant.importBuild 'build.xml' usePlugin 'java' test { testClassesDir = file('../automatedbuild/classes') scanForTestClasses = false include =