Thanks, Yonik. I was definitely missing that.

On Apr 9, 2007, at 2:08 PM, Yonik Seeley wrote:

On 4/9/07, mark angelillo <[EMAIL PROTECTED]> wrote:
package org.apache.lucene.misc;

[...]
2) Create the .jar file. (Maybe I'm doing this wrong?)

 > javac classpath lucene-core-nightly.jar CustomSimilarity.java
 > jar -cvf CustomSimilarity.jar CustomSimilarity.class

This may be the problem. The path in the jar file needs to reflect the package. So the CustomSimilarity.class file needs to be in the org/apache/ lucene/misc/
directory.

-Yonik

Reply via email to