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 - IDE doesn't support symbolic links on Windows
Summary: IDE doesn't support symbolic links on Windows
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-24 22:19 UTC by Andrew Krasny
Modified: 2010-04-19 16:34 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 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).