}
}
}
}
ClassLoadingMetaData classLoading = metaData.getClassLoading();
if (classLoading == null)
{
classLoading = new ClassLoadingMetaData();
metaData.setClassLoading(classLoading);
}
// pass in the java2ClassLoadingCompliance if it was not set at the war level
if (classLoading.wasJava2ClassLoadingComplianceSet() == false)
classLoading.setJava2ClassLoadingCompliance(java2ClassLoadingCompliance);
// Build the context root if its not been set or is specified at the ear
String webContext = metaData.getContextRoot();
webContext = buildWebContext(webContext, warName, metaData, unit);
metaData.setContextRoot(webContext);