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 65570 - Cannot add .war file from free-form web project to enterprise project
Summary: Cannot add .war file from free-form web project to enterprise project
Status: RESOLVED DUPLICATE of bug 55695
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 22:33 UTC by _ gsporar
Modified: 2005-12-09 12:43 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 _ gsporar 2005-09-30 22:33:40 UTC
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.
Comment 1 Marek Fukala 2005-12-09 11:35:24 UTC
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.
Comment 2 Radko Najman 2005-12-09 12:43:04 UTC

*** This issue has been marked as a duplicate of 55695 ***