[ 
https://issues.apache.org/jira/browse/LUCENE-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417209#comment-13417209
 ] 

David Smiley commented on LUCENE-4231:
--------------------------------------

Ok, sorry for the confusion. I do use maven but I was messing with my classpath 
in my IDE to try out a patched trunk.
                
> Lucene-test-framework has META-INF for Codec for PreFlexRWCodec but not 
> instantiatable
> --------------------------------------------------------------------------------------
>
>                 Key: LUCENE-4231
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4231
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: general/test
>    Affects Versions: 4.0-ALPHA
>            Reporter: David Smiley
>            Priority: Minor
>             Fix For: 4.0
>
>
> The Lucene-test-framework for 4.0-ALPHA contains 
> /META-INF/services/org.apache.lucene.codecs.Codec which I didn't expect; 
> shouldn't that only be in Lucene-core ?  Well its there, and it contains 
> org.apache.lucene.codecs.lucene3x.PreFlexRWCodec which is actually a class 
> embedded in the test framework jar file (again, unexpected).  However, this 
> class depends on the existence of Lucene3xCodec which is not part of this jar 
> file.
> I discovered this because I accidentally had the lucene-test-framework 
> 4.0-ALPHA on my classpath along with the lucene-core 5.0 but Codec would fail 
> at class initialization time because the services failed to resolve.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to