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.
Using NB 5.0 Beta with JDK5U4 on WinXP. 1. Create a free-form EJB Module project. Build it so that it creates a .jar file in directory foo. 2. Create a free-form Web Application project. Build it so that it creates a .war file in that same directory foo. 3. Create a regular (not a "with existing source") Enterprise Application project. On the dialog box un-check the "Create web module" and "Create EJB module" options. Specify JBoss as the application server. 4. Right-click the new enterprise app. project and select Properties. 5. Click the Packaging node and then click Add Project... 6. Navigate to the project folder for the free-form EJB module created in step #1. You can add its .jar file to the enterprise app. with no problem. 7. Navigate to the project folder for the free-form web app. created in step #2. For some reason, the .war file it created is not listed. Its .war file cannot be added to the enterprise app., which seems broken.
The problem is that FF WebProject's AntArtifactProvider doesn't provide AntArtifact-s for WAR files. So then the EAR project cannot get it and add it as it's subproject. AFAIK there is an issue filled agains Web Project for this problem, but I do not know which one => reassigning to Radko.
*** This issue has been marked as a duplicate of 55695 ***