On 10/05/2011, at 5:36 AM, James Carr wrote:

> Hi,
> 
> is it possible to run multiple projects on the same jetty instance
> when using jetty run?

Not yet. This is something we do want to support.

One potential workaround would be to add some custom tasks to drive the Jetty 
API directly, instead of using the Jetty plugin. The Jetty API is very nice to 
work with, so this is not as terrible an option as it sounds.

It is also possible to subclass the JettyRun and JettyRunWar task types, and do 
some magic there to reuse server instances. But I'd think it might be easier 
(or at least, clearer) to go with some custom tasks.


--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com

Reply via email to