Hello!
I specify 'Implementation-Version' etc. in the manifest file, then I get Package:
Package pkg = this.getClass().getPackage();
But all the methods like pkg.getImplementationVersion() return null (pkg.getName() returns the correct name).
I tried to get this information in EJB session bean packaged in JAR, and in webapp packaged in WAR (both JAR and WAR are inside EAR). JBoss 4.0.3SP1.
Probably, class loader do not add infomation from the manifest file to Package objects?
Best regards,
Igor