[Xapian-discuss] Has anyone gotten Xapian java bindings to work with Eclipse?

Jim jim at fayettedigital.com
Wed Jun 18 20:38:04 BST 2008


Jim wrote:
> OK so I'm convinced I should be using java-swig even though the top 
> level readme doesn't even mention it.  I did a make in the java-swig 
> directory and then listed the contents of the jar file.  To my 
> amazement, I found they were not in a package. 
>
> I don't know how to import them.  I moved the jar to the WEB-INF/lib 
> directory in Eclipse, refreshed the project and the compiler complains 
> about "Stem cannot be resolved to a type" and "Document cannot be 
> resolved to a type", etc.
>
> So I'm guessing that I have to perform some magic to get these classes 
> recognized.  Any suggestions as to how to do that?
>
> Thanks,
> Jim.
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
>   
The more I read the more I think the java-swig isn't doing what it's 
supposed to.  I don't think Eclipse will be able to use that jar file 
without a package.  Can someone explain why this set of bindings isn't 
in a jar?  Am I supposed to be using it in a different manner?

Thanks,
Jim.



More information about the Xapian-discuss mailing list