History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-25508
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nikolay Chashnikov
Reporter: Stephen Friedrich
Votes: 4
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Support for ear/lib folder

Created: 03 May 07 22:36   Updated: 11 Sep 08 13:21
Component/s: J2EE, Project Configuration
Fix Version/s: Diana 8792

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,913
Fixed in build: 8,789
Severity: Medium

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 Description  « Hide
The Java EE 5 specification says that

A .ear file may contain a directory that contains libraries packaged in JAR files. The library-directory element of the .ear file's deployment descriptor contains the name of this directory. If a library-directory element isn't specified,
or if the .ear file does not contain a deployment descriptor, the directory named lib is used. An empty library-directory element may be used to specify
that there is no library directory.
All files in this directory (but not subdirectories) with a .jar extension must be made available to all components packaged in the EAR file, including application clients.

(Section 8.1.2 Application Assembly)

It seems in Idea I cannot currently configure such jars.

Please add support for that.

JBoss supports this starting from version 4.2.0:
http://jira.jboss.com/jira/browse/JBAS-4037

I don't know about other app servers.
Anyway the feature sounds pretty useful to me and I expect to see it used more widely in the future.

IMHO it should be possible to configure these jars directly at the ear module.
Alternatively/additionally it could be possible to have another packaging method "Copy to ear's lib folder" for jars of web and ejb modules.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.