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 194553 - project.xml from NB <6.8 is not automatically updated
Summary: project.xml from NB <6.8 is not automatically updated
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
: 195907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-20 23:21 UTC by David Konecny
Modified: 2012-04-13 00:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2011-01-20 23:21:08 UTC
Create EAR project with WEB and EJB projects in NB 6.5.1 and make WEB and EJB dependent on some Java Classes project. While this project runs and deploys fine on NB 6.5.1 opening it in NB 6.8 and trying it to run can result into following error in GlassFish output log:

SEVERE: Class [ a.package/AClass ] not found. Error while loading [ class your.EJBBean ]

and deployment will fail. The reason is that since NB 6.8 (implemented as issue 163971) library jars are stored in EAR's lib subfolder. And in order to do that project.xml must be updated. This update happens if project properties of Web and EJB projects are opened and closed. This is current workaround for the issue.

The fix of this issue is obviously to update project.xml during project opening. On the other hand it may have impact on project opening performance if performed always. To be evaluated.
Comment 1 David Konecny 2011-02-01 01:12:41 UTC
Unless there is a strong demand for this issue to get resolved I do not plan to fix it for NB7.
Comment 2 Martin Fousek 2011-02-24 08:35:25 UTC
*** Bug 195907 has been marked as a duplicate of this bug. ***