public ContentLocator generateContent(Repository repository, String path, StorageFileItem item)
throws IllegalOperationException, ItemNotFoundException, LocalStorageException {
// make length unknown (since it will be known only in the moment of actual content pull)
item.setLength(-1);
RepositoryData data = new RepositoryData(repository.getId(),
((DefaultIndexerManager)indexerManager).getRepositoryIndexContext(repository),
new ArtifactInfoFilter()
{
@Override
public boolean accepts(IndexingContext ctx, ArtifactInfo ai) {