0 Replies Latest reply on Jun 7, 2006 11:59 AM by Igor Kuzmitshov

    Package information is not taken from the manifest file

    Igor Kuzmitshov Newbie


      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,