There are a couple of fundamental problems with your approach:

- Executing a task on your own (by calling its execute() method) is not
supported. It's up to Gradle to execute tasks.
- A task is meant to be executed at most once per build, not many times.
- Setting a system property is not a good way to communicate information
from one task to another.

--
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/Attempting-to-execute-single-test-from-another-task-tp4892980p4894005.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