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 132513

Summary: Cant' add valid J2EE modules as Library in Enterprise app
Product: javaee Reporter: Petr Blaha <blaha>
Component: EARAssignee: David Konecny <dkonecny>
Status: VERIFIED FIXED    
Severity: blocker CC: helius, pjiricka, sustaining
Priority: P2 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Blaha 2008-04-10 12:32:21 UTC
[NB 6.1 RC1]
Steps:

1) create web project and build it
2) create new Enterprise application 
3) go to project properties -> packaging and click to Add Jar/Folder

You can not choose *.war there. I think that user should be able to choose all valid J2EE modules that are *.war, *.rar
on this dialog.
Comment 1 David Konecny 2008-04-11 08:20:17 UTC
Regression caused by earproject refactorings during sharable libraries implementation.

Temporarily workaround: see issue 132431

Fix is simple and should be straightforward to integrate to 6.1 or patch release.

http://hg.netbeans.org/main?cmd=changeset;node=2af1bc17bd9e
Comment 2 Dan Kolar 2008-04-14 14:27:11 UTC
v. in trunk
Comment 3 pslechta 2008-04-28 18:14:56 UTC
The fix has been ported into the release61_fixes branch.

http://hg.netbeans.org/release61_fixes/rev/66f52f685cca