WebAppConfig webAppConfig = getWebAppConfig();
if ((webAppConfig != null) && (webAppConfig.getPostBase() != null)) {
File postBase = enunciate.resolvePath(webAppConfig.getPostBase());
if (postBase.isDirectory()) {
debug("Copying postBase directory %s to %s...", postBase, buildDir);
enunciate.copyDir(postBase, buildDir);
}
else {
debug("Extracting postBase zip file %s to %s...", postBase, buildDir);
enunciate.extractBase(new FileInputStream(postBase), buildDir);
}