Brett Cave wrote:
> 
> The only way I can get it to work currently is by doing:
> allJvmArgs = [ "-DtargetHost=" +
> System.getProperty("targetHost","localhost") ]
> 

Very strange. Are you sure that the tests were actually run when you
perceived these problems?

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw



--
View this message in context: 
http://gradle.1045684.n5.nabble.com/system-properties-for-a-test-task-tp4754300p4777196.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to