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 2277 - Suggest providing explicit support for symlinks in LocalFileSystem. [ON WISHLIST]
Summary: Suggest providing explicit support for symlinks in LocalFileSystem. [ON WISHL...
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-24 01:29 UTC by Jesse Glick
Modified: 2008-12-23 10:45 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 Jesse Glick 1999-06-24 01:29:28 UTC
There is no portable way to include physical symlinks (not data shadows) in local file systems. No problem on Unix, but Windows .lnk files are in some f**ked format, and do not automatically resolve
 when read by Java, so they are no good. For other platforms, who knows.

LocalFileSystem could automatically recognize special filenames like .sym or .lnk (but this might conflict with WinDoze). Contents should be absolute filename to link to (might be present outside root
 dir of LFS). The name of the link file minus .sym should be used as the provided filename for the FileObject, while the contents should be taken from the linked-to file. Delete should delete only the
 link. Rename should rename only the link. Copy should copy the content, not the link. Links to directories should be supported and traversable. I.e., Unix symlink semantics exactly, just as if there
were OS-supported symlinks present and transparently read from Java.

This kind of system would permit people to set up symlink farms on any platform, which is important for people who do not want want to rearrange sources to keep them in a package hierarchy--they can h
ave whatever org they want on disk, and have a farm set up to mount in NB. There could also be a wizard inside NB to set up & mount such a farm from an existing set of sources, based on the package na
me.
Comment 1 Marek Grummich 2000-07-25 09:17:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 15:23:20 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.

Comment 3 Quality Engineering 2003-07-02 15:40:55 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.