users@glassfish.java.net

Package Information

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Apr 2008 19:14:35 PDT

Dear All,

When I deploy an application in an ear the package information for dependencies that are packaged with the ear are not available. MyClass.class.getPackage().getVersion() will return null. However if the jar containing MyClass is placed in ../glassfish/lib, ../domainx/lib or in a war archive. The information is available.

How do I go about fixing this ? I would prefer not to copy dependend libraries to glassfish or domain lib folders.

Thanks,

Arthur
[Message sent by forum member 'awtew' (awtew)]

http://forums.java.net/jive/thread.jspa?messageID=270869