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 250219 - Open Project cannot open projects using symbolic links
Summary: Open Project cannot open projects using symbolic links
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 17:10 UTC by _ gtzabari
Modified: 2015-02-05 10:21 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 _ gtzabari 2015-02-04 17:10:27 UTC
Product Version: NetBeans IDE Dev (Build 201502040002)
Java: 1.8.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-ea-b22
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

Netbeans' Open Project dialog allows one to "Open Required Projects" on Maven projects. However, if the user points the Open Project dialog to a symlink (created on Windows using "mklink /d <source> <target>") then "Open Required Projects" will be grayed out.
Comment 1 _ gtzabari 2015-02-04 17:15:25 UTC
Actually, the problem is worse than I thought. If the root directory is a symlink, then selecting it using the UI will not modify the "File name" field.

So if a user selects project A, then project B (where project A is normal and project B is behind a symlink), then hitting ENTER will open project A.

The only way to fix this problem is to manually enter the symlink path in the "File name" field.