[pylucene-dev] two different JCC modules in same VM; initVM()?
Andi Vajda
vajda at osafoundation.org
Tue Mar 11 20:19:05 PDT 2008
On Tue, 11 Mar 2008, Bill Janssen wrote:
>>> Here's another feature request: I'd like to be able to say "--jar
>>> BigJar.jar", but not have the classes in it stubbed,
>>
>> What do you mean by 'stubbed' ?
>
> I mean, generate Python stubs for all the classes in the jar file.
Ah, you mean "generate wrappers", ok.
> If you specify "--classpath Foo.jar" to JCC, it will use the classes
> in the jar file to "link" against, but won't stub them unless
> explicitly asked to. If you use the "--jar Foo.jar" argument instead,
> it does three things: uses the jar file to "link" against, copies the
> jar file to the extension bundle, and generates stubs for each class
> found in the jar file (unless explicitly told not to).
Each _public_ class, not each class. This can make a big difference.
> I'd like to be able to specify a jar file that would be part of the
> classpath, and included in the bundle, but not automatically stubbed.
I see, like --include this.jar --include that.jar, no wrappers but know
about them and copy them. Easy enough.
Andi..
More information about the pylucene-dev
mailing list