On Thu, 6 Mar 2008, Bill Janssen wrote:
It would be really handy if JCCEnv had a method which gave the current
CLASSPATH, so that I could just append to it.
Agreed, that would be a good addition.
Note, that you can actually get it already, albeit via a 'coupled' way:
import foo
foo.initVM(classpath=foo.CLASSPATH)
import foo, bar
classpath = foo.System.getProperty('java.class.path')
massage classpath
bar.initVM(classpath=classpath, env=foo.getVMEnv())
This requires that you ask jcc to wrap java.lang.System for you (which is a
handy thing to have around). But yes, having a getClassPath() method on env
would be helpful.
Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev