[GRADLE-886] Run multiple projects within a single jetty instance Created: 31/Mar/10  Updated: 16/Jan/17  Resolved: 16/Jan/17

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: None

Type: New Feature
Reporter: Jesse Eichar Assignee: Unassigned
Resolution: Won't Fix Votes: 3

Attachments: File JettyRunAllWar.groovy    


For my system I need a way to be able to run several projects within a single jetty instance. Ideally we would have both JettyRunAll and JettyRunAllWar options.

I have an initial implementation attached but it needs a lot of polish. It is a task for JettyRunAllWar.

Comment by Adam Murdoch [ 31/Mar/10 ]

I wonder if we shouldn't run every web application for a given build in a single instance as the default. For example, jettyRun and jettyRunWar would simply add the web application to the shared instance (starting it if it is not running). Simimarly, jettyStop would remove the web application from the shared instance (stopping it if there are no web apps left).

Comment by Jesse Eichar [ 31/Mar/10 ]

In my experience that is preferable. I can see instances where it would be beneficial to be able to run in separate instances though. Consider simulating a network of servers interoperating, perhaps you want some instances to fail and test recovery. So that needs to still be an option.

I am trying to think of cases where this default would be a problem and thus far I am unable to.

Comment by Benjamin Muschko [ 15/Nov/16 ]

As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.

We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.

Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:

  • Checking that your issues contain requisite context, impact, behaviors, and examples as described in our published guidelines.
  • Leave a comment on the JIRA issue or open a new GitHub issue confirming that the above is complete.

We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!

Comment by Benjamin Muschko [ 16/Jan/17 ]

The Jetty plugin has been deprecated and is scheduled to be removed with Gradle 4.0. We are not going to work on this issue anymore.

Generated at Wed Jun 30 11:41:26 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.