mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 04:19:12 +00:00
439194 Do not configure fake server for jetty:run-forked
This commit is contained in:
parent
4bf7e9e440
commit
1dcb7dd986
@ -246,11 +246,9 @@ public class JettyRunForkedMojo extends JettyRunMojo
|
||||
{
|
||||
printSystemProperties();
|
||||
|
||||
//apply any config from a jetty.xml file first to our "fake" server instance
|
||||
//TODO probably not necessary
|
||||
applyJettyXml ();
|
||||
//do NOT apply the jettyXml configuration - as the jvmArgs may be needed for it to work
|
||||
|
||||
|
||||
//ensure handler structure enabled
|
||||
server.configureHandlers();
|
||||
|
||||
//ensure config of the webapp based on settings in plugin
|
||||
@ -271,9 +269,10 @@ public class JettyRunForkedMojo extends JettyRunMojo
|
||||
|
||||
webApp.setQuickStartWebDescriptor(Resource.newResource(forkWebXml));
|
||||
|
||||
//add webapp to our fake server instance
|
||||
server.addWebApplication(webApp);
|
||||
|
||||
//if our server has a thread pool associated we can do any annotation scanning multithreaded,
|
||||
//if our server has a thread pool associated we can do annotation scanning multithreaded,
|
||||
//otherwise scanning will be single threaded
|
||||
QueuedThreadPool tpool = server.getBean(QueuedThreadPool.class);
|
||||
if (tpool != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user