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 58231

Summary: 4.0 web project cannot be added to Enterprise application
Product: javaee Reporter: zikmund <zikmund>
Component: Web ProjectAssignee: Radko Najman <rnajman>
Status: CLOSED FIXED    
Severity: blocker Keywords: RELNOTE
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description zikmund 2005-04-22 15:30:34 UTC
Build 200504211930

1) Open 4.0 Web Project
2) Resolve all broken references (Includes Upgrading project)
ERROR:
  see nbproject/project.properties for missing values:
    build.ear.classes.dir=${build.ear.web.dir}/WEB-INF/classes
    build.ear.web.dir=${build.dir}/ear-module
    war.ear.name=WebApplication1.war
3) Add web app to enterprise application
4) Clean and Build Enterprise application
5) ERROR

Workaround is: create Web Application with Existing Sources.
Comment 1 Radko Najman 2005-04-25 17:40:54 UTC
There is a need to add properties mentioned in previous comment.
Comment 2 zikmund 2005-04-26 11:58:46 UTC
Should be part of 4.1 ReleaseNotes together with issue 58230.
Comment 3 Radko Najman 2005-04-26 16:01:30 UTC
Fixed.

/cvs/web/project/src/org/netbeans/modules/web/project/UpdateHelper.java,v  <-- 
UpdateHelper.java
new revision: 1.18; previous revision: 1.17
Comment 4 zikmund 2005-05-25 15:31:11 UTC
Verified in 200505250639.