if (context instanceof VFSDeploymentContext)
{
boolean trace = log.isTraceEnabled();
log.trace("Apply context: " + context.getName() + " " + contextInfo);
VFSDeploymentContext vfsContext = (VFSDeploymentContext) context;
List<String> metaDataPath = contextInfo.getMetaDataPath();
if (metaDataPath != null && metaDataPath.isEmpty() == false)
vfsContext.setMetaDataPath(contextInfo.getMetaDataPath());
boolean classPathHadVF = false;
List<ClassPathEntry> classPathEntries = contextInfo.getClassPath();
VFSDeploymentContext top = vfsContext.getTopLevel();
VirtualFile root = top.getRoot();
List<VirtualFile> classPath = new ArrayList<VirtualFile>();
if (classPathEntries != null)
{
for (ClassPathEntry entry : classPathEntries)