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.
Please see issue http://www.netbeans.org/issues/show_bug.cgi?id=57160. Description: It would be nice if the "Resolve Reference Problems" function can recognize the project types. So the following error can be prevended. Build: 1. Netbean build 200504060831 2. Sun Java Sysyem Application Server Platform Edition 8.1_01 2005Q1 FCS To reproduce this bug: 1) unzip the attachedd HelloWorldApplication.zip file somewhere - directory (A) 2) open the ear project from the directory (A) => web project has broken reference to the ejb project 3) resolve the broken reference -> select the wrong ear project [from (A)/HelloWorldApplication],instead of the right EJB project [from (A)/HelloWorldApplication/HelloWorldApplication-ejb] 4) click the "Open Project Folder" button. => See "This problem was resolved" message in the Description field. 5) build the ear => Will get the following error: init: deps-module-jar: deps-ear-jar: C:\project\download\buzz\HelloWorldApplication\HelloWorldApplication\nbproject\build-impl.xml:143: The following error occurred while executing this line: C:\project\download\buzz\HelloWorldApplication\HelloWorldApplication\HelloWorldApplication-war\nbproject\build-impl.xml:226: The following error occurred while executing this line: Target `dist-ear' does not exist in this project. BUILD FAILED (total time: 2 seconds)
Created attachment 21587 [details] A sample project for reproducing the issue
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss