On Tue, 11 Mar 2008, Bill Janssen wrote:
On my end, I just got the setClassPath() hack to work in terms of JNI calls.
Brilliant!
Yes, here are the steps:
import lucene, gs
lucene.initVM(lucene.CLASSPATH)
<jcc.JCCEnv object at 0x52280>
gs.initVM('/Users/vajda/osaf/osaf/PyLucene/jcc/gs/')
<jcc.JCCEnv object at 0x6b53650>
lucene.Document()
<Document: Document<>>
gs.GoodStuff()
<GoodStuff: [EMAIL PROTECTED]>
Notice the ending / for the gs CLASSPATH, when specifying a dir it needs to
end with '/'.
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev