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

Summary: Open Project cannot open projects using symbolic links
Product: platform Reporter: _ gtzabari <gtzabari>
Component: Dialogs&WizardsAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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.