M
Manish Hatwalne
I need to read some custom attributes from the manifest.mf file of my jar
file. But somehow I am unable to get the "maniifest.mf" file from my class
in a jar file.
My class is in a package hierarchy in the jar file. The jar file also has
"maniifest.mf" file in its usual location under meta-inf/manifest.mf. How do
I get this file as a resource from my class?
I tried this, but it doesn't work -
this.getClass().getResource("/meta-inf/manifest.mf")
Any help/pointers would be useful.
TIA,
- Manish
file. But somehow I am unable to get the "maniifest.mf" file from my class
in a jar file.
My class is in a package hierarchy in the jar file. The jar file also has
"maniifest.mf" file in its usual location under meta-inf/manifest.mf. How do
I get this file as a resource from my class?
I tried this, but it doesn't work -
this.getClass().getResource("/meta-inf/manifest.mf")
Any help/pointers would be useful.
TIA,
- Manish