if (altDD == null)
throw new DeploymentException("Unable to resolve " + altDDPath + " as a deployment path");
File webInf = new File(expWarUrl.toURI());
File altDDFile = new File(webInf, "WEB-INF/" + altDD.getName());
log.debug("Copying the altDD to: " + altDDFile);
Files.copy(altDD.toURL(), altDDFile);
metaData.setAlternativeDD(altDDFile.getAbsolutePath());
}
}
}
}