if (project != null) {
IVirtualComponent component = ComponentCore.createComponent(project);
if (component != null) {
//FlatVirtualComponent will build the project structure from the definition in .component
FlatVirtualComponent flatVirtualComponent = new FlatVirtualComponent(component, getOptions());
IResourceFilter filter = new DynamicResourceFilter(getInclusions(), getExclusions());
cachedRoot = new CompositeVirtualFolder(flatVirtualComponent, ROOT, filter);
}
}
lastCacheUpdate = System.currentTimeMillis();