On Mar 09, 2005, at 11:30, Andrzej Bialecki wrote:
I'm not sure... I just tried to do Package.getPackage("org.apache.lucene") and got null, even though the manifest is present in the JAR.
Packages are only defined when their underlying class has been already loaded...
http://alt.textdrive.com/assets/public/docs/ java.lang.Package.cls.html#getPackage.String
Why don't you do it the other way around, e.g. pick a Lucene class and ask it for its package. That works for me.
Cheers
-- PA, Onnay Equitursay http://alt.textdrive.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]