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 221549 - Regular file choser shown instead of "Add JAR/Folder" when resolving missing JAR file for project
Summary: Regular file choser shown instead of "Add JAR/Folder" when resolving missing ...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-06 10:59 UTC by host
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
1.png (124.99 KB, image/png)
2012-11-06 11:04 UTC, host
Details
2a.png (67.19 KB, image/png)
2012-11-06 11:05 UTC, host
Details
2b.png (125.90 KB, image/png)
2012-11-06 11:05 UTC, host
Details
3a.png (38.23 KB, image/png)
2012-11-06 11:05 UTC, host
Details
3b.png (70.70 KB, image/png)
2012-11-06 11:05 UTC, host
Details
3c.png (126.65 KB, image/png)
2012-11-06 11:06 UTC, host
Details

Note You need to log in before you can comment on or make changes to this bug.
Description host 2012-11-06 10:59:03 UTC
In my project there is a broken reference to a JAR file that missing (and this error message is correct). (see screenshot 1).

Now, when I add a replacement JAR for the missing JAR file via the project properties window then the "Add JAR/Folder" dialog is shown where I can add the JAR file via its "Relative Path", "Path from Variable" or "Absolute Path" (see screenshot 2a). ...and when "Relative Path" is chosen then in "Libraries" the path to the added JAR file is correctly relative (see screenshot 2b).

But, when I instead use the "Resolve Project Problems" dialog (see screenshot 3a) then I only get a regular filechoser to chose the JAR(see screenshot 3b), i.e. without possibility for a relative path as above, and thus JAR is also added to the "Libraries" with its full (and not relative) path (see screenshot 3c).
Comment 1 host 2012-11-06 11:04:34 UTC
Created attachment 127214 [details]
1.png
Comment 2 host 2012-11-06 11:05:02 UTC
Created attachment 127215 [details]
2a.png
Comment 3 host 2012-11-06 11:05:21 UTC
Created attachment 127216 [details]
2b.png
Comment 4 host 2012-11-06 11:05:39 UTC
Created attachment 127217 [details]
3a.png
Comment 5 host 2012-11-06 11:05:57 UTC
Created attachment 127219 [details]
3b.png
Comment 6 host 2012-11-06 11:06:13 UTC
Created attachment 127220 [details]
3c.png
Comment 7 Martin Balin 2016-07-07 07:17:42 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