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 87910

Summary: IDE doesn't support symbolic links on Windows
Product: cnd Reporter: Andrew Krasny <akrasny>
Component: Code ModelAssignee: Vladimir Kvashin <vkvashin>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Andrew Krasny 2006-10-24 22:19:59 UTC
MySQL project uses links to directories. I.e. it has following structure:

./include/readline/ -> ../cmd-line-utils/readline/

and in mysql.cc (that is compiled with -I./include)
#include <readline/readline.h>


IDE cannot handle such cases. CodeModel parser cannot resolve readline.h and
./include/readline/ is not visible even in 'Files' tab.
Comment 1 Alexander Simon 2007-04-16 07:30:26 UTC
Discovery wizard dwarf-based provider can find original source from link on
Windows platform.
Comment 2 _ gordonp 2007-04-16 15:44:08 UTC
Can the Discovery Wizard recognize and follow symlinks from all Unix-like
shells? Or just Cygwin's bash implementation?
Comment 3 Alexander Simon 2007-04-17 08:43:03 UTC
There are no problem on uinix with symbolic links because NB can recognize
linked resources and right process it (open, check exist, edit). Problem only on
Windows. NB (java) does not support links.
Discovery does not  resolve NB link problems (open, edit). Discovery only finds
linked resources. It can be done because GNU compiler supports links.
Dwarf information contains file name that point to link without .lnk extension.
Discovery try to find file or file link. If file link exist then discovery reads
file name from link and adds file to project (link is ignored).