tony1223 / run-jetty-run

Automatically exported from code.google.com/p/run-jetty-run
0 stars 0 forks source link

Add option to let Jetty startup using a Jetty XML configuration file #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add option to let Jetty startup using a Jetty XML configuration file. So - like 
the old plugin - you 
provide either the port and context or the location of the configuration.

Note that this is probably about as far as I want to go with adding new 
features.

Original issue reported on code.google.com by eelco.hillenius on 6 Jan 2008 at 8:26

GoogleCodeExporter commented 9 years ago
Should also add the libs for Jetty plus

Original comment by eelco.hillenius on 6 Jan 2008 at 8:28

GoogleCodeExporter commented 9 years ago
I decided not to fix this anytime soon. This plugin is meant to be super 
simple, and I'm afraid that if I include 
support for using a Jetty XML configuration file, I'll run into problems with 
different Jetty versions again. The 
XML file directly translate to API calls on Jetty, and this API changes between 
versions, so I expect that an XML 
file for Jetty 4 might not work properly for Jetty 6.

There are plenty of alternatives available, including using the WTP Eclipse 
plugin or just even including the 
Jetty dependencies in your project (or a separate one) and use that as a 
runner. That's about 5 minutes work 
and gives you all the freedom you need.

Original comment by eelco.hillenius on 3 Feb 2008 at 6:38