users@glassfish.java.net

Re: ear file structure

From: <glassfish_at_javadesktop.org>
Date: Tue, 03 Jun 2008 03:21:16 PDT

You can use the <library-directory> element in application.xml. e.g.

<library-directory>shared</library-directory>

will look for libraries (packaged as jar files) in the shared directory. The "shared" directory is relative to the top level of the application package.

If the libraries are at the top level I believe you can use

<library-directory></library-directory>

Please try and let me know if it works. I would like to update the Migration Guide http://wiki.glassfish.java.net/Wiki.jsp?page=M2GMigrationGuide .
[Message sent by forum member 'sekhar' (sekhar)]

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