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 238869 - symbolic links and folders has same icon in Favorites tab
Summary: symbolic links and folders has same icon in Favorites tab
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on: 237882
  Show dependency tree
Reported: 2013-11-27 11:46 UTC by soldatov
Modified: 2014-09-02 13:58 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2013-11-27 11:46:45 UTC
On UNIX many users has symbolic links to external machines. For example "ln -s /net/zzz/export/sample /export/local_folder/sample" command creates symbolic link to external "zzz" machine. In Eclipse or Nautilus I see small sign and I can differ folder and symbolic link. In NetBeans in Favorites tab all folders has same icon.

"rm /export/local_folder/sample" command deletes symbolic link
"rm -r /export/local_folder/sample" command deletes all files in "sample" folder on remote machine
NetBeans uses second way, but I think I will delete local files only.
Comment 1 Ondrej Vrabec 2013-11-27 12:07:29 UTC
There is currently no API in FileSystems that would tell us a FileObject is just a symlink.
Comment 2 Ondrej Vrabec 2013-11-27 12:12:21 UTC
but this is not specific to favorites. IMHO should be fixed in DataSystems (applies also to the Files view).