mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
PL-6023 Allow to build single WAR instead of 2 (core and web)
#PL-6023
This commit is contained in:
parent
d67179ad34
commit
7497b30959
@ -37,11 +37,6 @@ public class SingleAppWebContextLoader extends WebAppContextLoader {
|
||||
super.contextInitialized(servletContextEvent);
|
||||
|
||||
ServletContext servletContext = servletContextEvent.getServletContext();
|
||||
servletContext.setInitParameter("UI", "com.haulmont.cuba.web.AppUI");
|
||||
servletContext.setInitParameter("UIProvider", "com.haulmont.cuba.web.sys.CubaUIProvider");
|
||||
servletContext.setInitParameter("Application", "com.haulmont.refapp.web.RefApp");
|
||||
servletContext.setInitParameter("widgetset", "com.haulmont.refapp.web.toolkit.ui.RefAppWidgetSet");
|
||||
|
||||
CubaApplicationServlet cubaServlet = new CubaApplicationServlet();
|
||||
cubaServlet.setClassLoader(Thread.currentThread().getContextClassLoader());
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user