I should have mentioned that I tried that as well.  jvmArgs was my last
resort.  Neither seem to work for me.

On Wed, Apr 13, 2011 at 12:18 PM, Benjamin Jansen <[email protected]>wrote:

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

Reply via email to