return determineStructureWithStructureDeployer(deployment, new DeclaredStructure());
}
public void testComplex() throws Throwable
{
VFSDeploymentContext root = assertDeploy("/structure/explicit", "complex.deployer");
assertChildContexts(root, "sub.jar", "x.war");
// Validate the root context info
assertMetaData(root, "META-INF");
assertClassPath(root, "cp-mf.jar", "jar1.jar", "lib-dir/jar0.jar", "lib-dir/jar2.jar");
// Validate the sub.jar
VFSDeploymentContext subJar = assertChildContext(root, "sub.jar");
assertMetaData(subJar, "META-INF");
assertClassPath(subJar, root, "cp-mf.jar");
// Validate the x.war context info
VFSDeploymentContext xwar = assertChildContext(root, "x.war");
assertMetaData(xwar, "WEB-INF");
assertClassPath(xwar, "WEB-INF/classes", "WEB-INF/lib/w0.jar");
}