On Jun 12, 2009, at 9:50 AM, Russel Winder wrote:
On Thu, 2009-06-11 at 08:54 +0200, Hans Dockter wrote:
[ . . . ]
How do I tell Gradle to fork once for the tests instead of the
default per test forking?
test {
options.fork(forkMode: ForkMode.ONCE)
}
or
test.options.fork(forkMode: ForkMode.ONCE)
Uuuurrrr.... for the Gant build I am seeing that Gradle uses once mode
by default and that I have to use
test.options.fork ( forkMode : ForkMode.PER_TEST )
to get per test mode. I am using Gradle Trunk though.
For Groovy projects we use ONCE and for Java projects we use PER_TEST
as default.
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email