[ http://jira.codehaus.org/browse/MRM-112?page=all ]
Brett Porter updated MRM-112:
-----------------------------
Fix Version: 1.0-beta-1
> Creation of MetadataReposiotryIndex fails if provided index directory exists,
> but works if the directory does not exists
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: MRM-112
> URL: http://jira.codehaus.org/browse/MRM-112
> Project: Maven Repository Manager
> Type: Bug
> Components: indexing
> Versions: 1.0-beta-1
> Reporter: Alexander Smirnoff
> Assignee: Maria Odea Ching
> Fix For: 1.0-beta-1
>
> Original Estimate: 5 hours
> Time Spent: 5 hours
> Remaining: 0 minutes
>
> Here is the stacktrace:
> org.apache.maven.repository.indexing.RepositoryIndexException: C:\dev\index
> is not a valid index directory.
> at
> org.apache.maven.repository.indexing.AbstractRepositoryIndex.indexExists(AbstractRepositoryIndex.java:257)
> at
> org.apache.maven.repository.indexing.MetadataRepositoryIndex.deleteIfIndexed(MetadataRepositoryIndex.java:195)
> at
> org.apache.maven.repository.indexing.MetadataRepositoryIndex.indexMetadata(MetadataRepositoryIndex.java:173)
> at
> org.apache.maven.repository.indexing.MetadataRepositoryIndex.index(MetadataRepositoryIndex.java:67)
> ...
> the directory exists, if you will pass the path that does not exists, all
> works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira