PL-6023 Allow to build single WAR instead of 2 (core and web)

#PL-6023
This commit is contained in:
Eugeny Degtyarjov 2015-09-22 14:45:05 +00:00
parent d67179ad34
commit 7497b30959

View File

@ -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 {