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 57806 - "Resolve Reference Problems" function should recognize the project types
Summary: "Resolve Reference Problems" function should recognize the project types
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 23:03 UTC by _ hong_lin
Modified: 2016-07-07 08:55 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
A sample project for reproducing the issue (54.50 KB, application/x-compressed)
2005-04-12 23:04 UTC, _ hong_lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hong_lin 2005-04-12 23:03:13 UTC
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)
Comment 1 _ hong_lin 2005-04-12 23:04:45 UTC
Created attachment 21587 [details]
A sample project for reproducing the issue
Comment 2 Martin Balin 2016-07-07 08:55:09 UTC
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