archive.addModule(d);
server.deploy(archive);
*/
VirtualFileAssembly assembly = new VirtualFileAssembly(appName + ".ear");
// make sure we don't have class loader isolation (else CCE in the user class)
assembly.addDirectory("META-INF"); // make sure this is visible as a child
assembly.add("META-INF/jboss-classloading.xml", createJBossClassLoadingXML());
for(File d : deployments)
{
// if it's already a file it must not be mounted twice (see AbstractVFSArchiveStructureDeployer#determineStructure)
if(d.isFile())