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 107550 - Need way to indicate that some files in a folder should not be ordered
Summary: Need way to indicate that some files in a folder should not be ordered
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
Depends on:
Blocks: 103187
  Show dependency tree
Reported: 2007-06-21 00:52 UTC by Jesse Glick
Modified: 2008-12-22 14:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-06-21 00:52:56 UTC
Some folders, such as Templates, are ordered in part yet contain children, such as Project, which do not need to be
ordered (e.g. because they are hidden from view). If you omit the position attribute on them, you get a spurious
warning. So it is desirable to add some position attribute, yet the actual value is irrelevant (but there should be no
warnings about several such children having the same arbitrary position).

Simple solution is to suppress the warning about multiple children sharing a position in case that position is 0 (zero).
Comment 1 Jesse Glick 2007-06-21 00:59:04 UTC
Checking in nbbuild/antsrc/org/netbeans/nbbuild/;
/shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/,v  <--
new revision: 1.4; previous revision: 1.3
Checking in openide/fs/src/org/openide/filesystems/;
/shared/data/ccvs/repository/openide/fs/src/org/openide/filesystems/,v  <--
new revision: 1.3; previous revision: 1.2
Checking in openide/fs/test/unit/src/org/openide/filesystems/;
/shared/data/ccvs/repository/openide/fs/test/unit/src/org/openide/filesystems/,v  <--
new revision: 1.3; previous revision: 1.2
Comment 2 _ rkubacki 2007-06-24 18:58:29 UTC
Personally I do not like this too much. Can't we move all this testing to tests where we can filter all the stuff where
our logging is false warning alarm?
Comment 3 Jesse Glick 2007-06-25 15:03:08 UTC
I am already preparing a commit validation test for folder ordering. (Runs but has a lot of failures yet to be
corrected.) The test just tries to order every folder in SFS and checks for logged warnings. But that is useless for
third-party modules.