On Apr 13, 2011, at 9:29 AM, Ray Nicholus wrote:
> I have the following task
>
> task testGeb(type:Test) {
> jvmArgs '-Dgeb.driver=firefox'
> include "geb/**/*.class"
> testReportDir = new File(testReportDir, "gebtests")
> }
Have you tried the systemProperties [1,2] Test property? Instead of the jvmArgs
line:
systemProperties 'geb.driver' : 'firefox'
- Ben
1: Example 6.6. Adding a test system property under
http://gradle.org/0.9.2/docs/userguide/userguide_single.html#N1043C
2:
http://gradle.org/0.9.2/docs/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:systemProperties
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email