This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90955 - any jar that is packaged in ear lib should automatically be available to all modules of the ear.
Summary: any jar that is packaged in ear lib should automatically be available to all ...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 13:13 UTC by Sanjeeb Sahoo
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sanjeeb Sahoo 2006-12-12 13:13:10 UTC
I have a library type project called Common which contains the entity classes
and ejb interface classes. I have another Enterprise Project called ServerEJBApp
which has only one EJB module called ServerEJBApp-ejb. This ejb module contains
the EJB implementation class and persistence.xml. The ejb module depends on the
library module. Although I had configured the packaging of the  ear project to
package Common.jar in the lib folder, I still had to explicitly express
dependency on the project Common from ServerEJBApp-ejb. NetBeans should be smart
enough to figure out that any jar in an ear's lib is available to every other
module in the ear file and hence should automatically set up this dependency.
Comment 1 Martin Balin 2016-07-07 08:54:49 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss