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 40400 - [masterfs] MasterFS should try to delegate to ExLocalFileSystem or the equivalent
Summary: [masterfs] MasterFS should try to delegate to ExLocalFileSystem or the equiva...
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 01:16 UTC by Jesse Glick
Modified: 2008-12-22 19:34 UTC (History)
1 user (show)

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 2004-02-24 01:16:06 UTC
Disk roots in masterfs are mounted as plain
LocalFileSystem's. This represents a bit of a
regression from a user perspective vs. NB 3.x
since the functionality of o.n.c.ExLocalFileSystem
is not present, namely:

- backup extensions

- ignored files regexp

The ignored files regexp we were actually using in
the build system, though it is not critical.

Perhaps try to create an ExLocalFileSystem via
reflection in SpecialDelegates.mountLocalFileSystem?
Comment 1 rmatous 2004-04-01 14:09:37 UTC
ignored files regexp
-------------------------
files should be filtered rather in UI impl. than in filesystems. 

backup extensions 
------------------
could be just implemented in MasterFS 

Do you really think that I should resuscitate ExLocalFS and move it
into MasterFS module ?


Comment 2 Jesse Glick 2004-04-01 15:30:29 UTC
I think this is not very high priority - esp. as VCS filesystems have
their own ignore lists. However:

1. Do not resuscitate (hezka anglictina!) ExLFS as such, since much of
it is irrelevant, just the small piece that actually handles the
regexp ignore list.

2. Yes, could be handled directly in masterfs, but then VCS providers
may have their own list of things to ignore which may be VCS-specific.

3. Filtering in UI may be a reasonable alternative. No strong preference.

4. o.n.m.projects.ui.Hacks currently tries to preset
netbeans.ignored.files to

"^(CVS|SCCS|vssver\\.scc|#.*#|%.*%|\\.(cvsignore|svn|DS_Store))$|^\\.[#_]|~$"

which matches Ant's
org.apache.tools.ant.DirectoryScanner.DEFAULTEXCLUDES and seems to be
pretty complete. Of course the hack does not work at the moment since
there is no ExLFS to interpret it. Also some CVS users might object to
having .cvsignore be excluded, since sometimes you want to edit it
manually (our VCS integration is currently too dumb to do this
automatically AFAIK), etc.
Comment 3 Jesse Glick 2004-04-15 16:03:58 UTC
See issue #42050 re. filtering.
Comment 4 rmatous 2004-05-28 15:11:45 UTC
VisibilityQuery already exists. 

If there is requested support for backup extensions then please reopen
and change summary or file new issue.
Comment 5 Jesse Glick 2004-05-28 15:21:54 UTC
Sounds fine.
Comment 6 Marian Mirilovic 2005-07-12 10:03:42 UTC
closed