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 195827 - "weight" attribute not interpreted when merging module layers
Summary: "weight" attribute not interpreted when merging module layers
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 141925
  Show dependency tree
 
Reported: 2011-02-22 22:45 UTC by Jaroslav Tulach
Modified: 2011-02-24 05:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Manual demo - should show small main window (4.59 KB, application/zip)
2011-02-23 18:01 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2011-02-22 22:45:51 UTC
The "weight" attribute, introduced in 6.9 version:
http://bits.netbeans.org/6.9/javadoc/org-openide-filesystems/apichanges.html#MultiFileSystem.weight
does not seem to have any effect between layers of multiple modules. 

I thought I will find info about "weight" attribute in ParsingLayerCacheManager, but the whole package is silent about that. That seems clearly wrong.

Just add new test to XMLFileSystemTestHid, that will check that the behavior of plain XMLFileSystem and core.startup's BinaryFS are the same.
Comment 1 Jesse Glick 2011-02-23 02:07:46 UTC
Have test passing for XMLFileSystem. Still trying to figure out how to do it for ParsingLayerCacheManager.
Comment 2 Jesse Glick 2011-02-23 18:01:54 UTC
Created attachment 106354 [details]
Manual demo - should show small main window
Comment 3 Jesse Glick 2011-02-23 18:05:55 UTC
core-main #7aaf4d563396
Comment 4 Quality Engineering 2011-02-24 05:36:26 UTC
Integrated into 'main-golden', will be available in build *201102240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7aaf4d563396
User: Jesse Glick <jglick@netbeans.org>
Log: #195827: "weight" attribute not interpreted when merging module layers