if (OsgiBundleUtils.isSystemBundle(bundle) || bundle.getBundleId() == bundleId)
return;
}
WarScanner localWarScanner;
ContextPathStrategy localCPS;
synchronized (lock) {
localWarScanner = warScanner;
localCPS = contextPathStrategy;
}
// check if the bundle is a war
if (localWarScanner.isWar(bundle)) {
// get bundle name
String contextPath = localCPS.getContextPath(bundle);
// make sure it doesn't contain spaces (causes subtle problems with Tomcat Jasper)
Assert.doesNotContain(contextPath, " ", "context path should not contain whitespaces");
String msg = OsgiStringUtils.nullSafeNameAndSymName(bundle)
+ " is a WAR, scheduling war deployment on context path [" + contextPath + "] (";