} else {
LOG.info( "Config override location: No override location configured" );
}
// will load either from WEB-INF, from the classpath or from config directory.
final IsisConfigurationBuilder isisConfigurationBuilder = new IsisConfigurationBuilderResourceStreams(compositeSource);
primeConfigurationBuilder(isisConfigurationBuilder, servletContext);
isisConfigurationBuilder.addDefaultConfigurationResources();
final DeploymentType deploymentType = determineDeploymentType(isisConfigurationBuilder, servletContext);
addConfigurationResourcesForWebApps(isisConfigurationBuilder);
addConfigurationResourcesForDeploymentType(isisConfigurationBuilder, deploymentType);
IsisWebAppBootstrapperUtil.addConfigurationResourcesForViewers(isisConfigurationBuilder, servletContext);
isisConfigurationBuilder.add(WebAppConstants.WEB_APP_DIR, webappDir);
isisConfigurationBuilder.add(SystemConstants.NOSPLASH_KEY, "true");
final InstallerLookup installerLookup = new InstallerLookupDefault();
injector = createGuiceInjector(isisConfigurationBuilder, deploymentType, installerLookup);
final IsisSystem system = injector.getInstance(IsisSystem.class);
isisConfigurationBuilder.lockConfiguration();
isisConfigurationBuilder.dumpResourcesToLog();
servletContext.setAttribute(WebAppConstants.ISIS_SYSTEM_KEY, system);
} catch (final RuntimeException e) {
LOG.error("startup failed", e);
throw e;