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 195907 - build-impl.xml no longer adds Class-Path to EJB manifest, causes ClassDefNotFoundError
Summary: build-impl.xml no longer adds Class-Path to EJB manifest, causes ClassDefNotF...
Status: RESOLVED DUPLICATE of bug 194553
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 20:03 UTC by dmocek
Modified: 2011-02-24 08:35 UTC (History)
0 users

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 dmocek 2011-02-23 20:03:08 UTC
I'm getting undeployable project errors using NB 7.0b2 with some existing EJB projects I've used with GF 2ur2.  I have existing projects I've build using NB 6.5.1 and GF 2ur2.  I've installed NB 7.0b2 with GF 3.1 b41, tried opening the projects, building, and deploying to GF 3.1 b41.  The first time I deploy the projects, all is fine.  However, after subsequent builds and deploys, the deployment fails with the error ClassDefNotFoundError on an interface class which is included in the EJB project from a library project.  After further investigation, it appears that the Class-Path entry in the EJB manifest is missing.  I see it in the builds using NB 6.5.1.  I also noticed that 7.0b2 changed the build-impl.xml and the XML to add Class-Path to the manifest is missing.
Comment 1 Martin Fousek 2011-02-24 07:49:11 UTC
Good catch. I was able to reproduce. Good to mentioned that this problem will appear only if the EJB is used in Enterprise Application - in that case is called "library-inclusion-in-manifest" ant target.

For now I know that build-impl.xml is changed at the moment of first opening the EJB project in NB7.0.
Comment 2 Martin Fousek 2011-02-24 08:35:25 UTC
From the changes in source code I found out that this is already filled by David. Marking this as a duplicate of his issue. Dmocek, I'm adding you on CC of the original issue.

*** This bug has been marked as a duplicate of bug 194553 ***