context.setDocBase(file);
host.addChild(context);
if (unpackWARs && (context.getDocBase() != null)) {
File docBase = new File(appBase(), cn.getBaseName());
deployedApp.redeployResources.put(docBase.getAbsolutePath(),
<BUG>new Long(docBase.lastModified()));
</BUG>
addWatchedResources(deployedApp, docBase.getAbsolutePath(),
context);
} else {

context.setDocBase(file);
host.addChild(context);
if (unpackWARs && (context.getDocBase() != null)) {
File docBase = new File(appBase(), cn.getBaseName());
deployedApp.redeployResources.put(docBase.getAbsolutePath(),
Long.valueOf(docBase.lastModified()));
addWatchedResources(deployedApp, docBase.getAbsolutePath(),
context);
} else {
