[pylucene-dev] two different JCC modules in same VM; initVM()?

Andi Vajda vajda at osafoundation.org
Fri Mar 7 13:23:30 PST 2008


On Fri, 7 Mar 2008, Bill Janssen wrote:

> Right now, I think that's OK.  In my application, the PyLucene code
> and the GoodStuff code are logically separate; Java instances from one
> are not going to get into the other.  Maybe in the longer term,
> though, it would be good to think about how to do this.  I dream of
> stubbing Swing with JCC...
>
>> In the meantime, just compile all your java modules into one python
>> extension. This is how lucene is built. All the jars included are compiled
>> together into PyLucene's lucene python module.
>
> Yes, I'm doing this.  Now, I need to make it work *with* lucene.

Just add your jars to the list of the Lucene ones in its Makefile and be 
done with it :)

Andi..


More information about the pylucene-dev mailing list