+1
Bernhard
Doug Cutting wrote:
Andrzej Bialecki wrote:
Hmmm... would not java.lang.Package various methods do the job?
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.
I looked into this. The packag
+1
Erik
On Mar 9, 2005, at 1:20 PM, Doug Cutting wrote:
Andrzej Bialecki wrote:
Hmmm... would not java.lang.Package various methods do the job?
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.
I looked
Andrzej Bialecki wrote:
Hmmm... would not java.lang.Package various methods do the job?
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.
I looked into this. The package name in the manifest is
"org/apache/l
PA wrote:
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.t
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.co
PA wrote:
On Mar 09, 2005, at 09:49, Andrzej Bialecki wrote:
Besides, it doesn't work with WebStart, because the classpath is not
accessible.
Hmmm... would not java.lang.Package various methods do the job?
I'm not sure... I just tried to do
Package.getPackage("org.apache.lucene") and got null, e
On Mar 09, 2005, at 09:49, Andrzej Bialecki wrote:
Besides, it doesn't work with WebStart, because the classpath is not
accessible.
Hmmm... would not java.lang.Package various methods do the job?
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
-
Can you do a Lucene.class.getResource("/META-INF/ and read the info
from there manually? This should return JAR-relative URL and thus should
work with Java WebStart.
D.
Andrzej Bialecki wrote:
Bill Janssen wrote:
The JDK comes with some classes that will let you get to
that elegantly.
You m
Bill Janssen wrote:
The JDK comes with some classes that will let you get to
that elegantly.
You mean clumsily :-).
Besides, it doesn't work with WebStart, because the classpath is not
accessible.
--
Best regards,
Andrzej Bialecki
___. ___ ___ ___ _ _ __
[__ ||
> The JDK comes with some classes that will let you get to
> that elegantly.
You mean clumsily :-).
Bill
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
The version information should be included in the Manifest file inside
the Jar. The JDK comes with some classes that will let you get to
that elegantly.
Otis
--- Paul Mellor <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Just a quick query - is there any way that I can determine at runtime
> the
>
11 matches
Mail list logo