debug = ((StandardHost) host).getDebug();
}
// Calculate the directory name of the expanded directory
if (debug >= 1) {
logger.log("expand(" + war.toString() + ")");
}
String pathname = war.toString().replace('\\', '/');
if (pathname.endsWith("!/")) {
pathname = pathname.substring(0, pathname.length() - 2);
}