I would prefer forking jetty in a child process and then explicitly shutting it 
down with another gradle command.

Etienne


On 23.07.2010, at 07:05, Jason Porter wrote:

> On Thu, Jul 22, 2010 at 18:15, Adam Murdoch <[email protected]> wrote:
>>  On 22/07/10 11:40 PM, Rene Groeschke wrote:
>>> 
>>> Hi there,
>>> I'm using a the environment("","") feature of the test task. Is there a
>>> way to do something similar in the jettyRun task?
>> 
>> There isn't, because the jettyRun task runs the web app in the build
>> process, rather than forking a child process. I wonder if it might not be
>> better if the jetty plugin always forks a jetty process.
> 
> I've been saying this all along :)
> 
>> --
>> Adam Murdoch
>> Gradle Developer
>> http://www.gradle.org
>> CTO, Gradle Inc. - Gradle Training, Support, Consulting
>> http://www.gradle.biz
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>> 
>>   http://xircles.codehaus.org/manage_email
>> 
>> 
>> 
> 
> 
> 
> -- 
> Jason Porter
> http://lightguard-jp.blogspot.com
> http://twitter.com/lightguardjp
> 
> Software Engineer
> Open Source Advocate
> 
> PGP key id: 926CCFF5
> PGP key available at: keyserver.net, pgp.mit.edu
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

Etienne Studer
Senior Software Developer

Canoo Engineering AG
Kirschgartenstrasse 5
CH-4051 Basel

T +41 61 228 94 44
F +41 61 228 94 49

[email protected]
www.canoo.com



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

    http://xircles.codehaus.org/manage_email


Reply via email to