LOG.debug("\tresourcePath: {}", resourcePath);
LOG.debug("\tfile path: {}", file.getPath());
final String computedResourceUri = resourcePath
+ StringUtils.removeStart(file.getPath(), baseNameFolder).replace('\\', '/');
final Resource expandedResource = Resource.create(computedResourceUri, resource.getType());
LOG.debug("\texpanded resource: {}", expandedResource);
expandedResources.add(expandedResource);
}
LOG.debug("\treplace resource {}", resource);
group.replace(resource, expandedResources);