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 254286 - Validation of layer.xml files for position conflicts
Summary: Validation of layer.xml files for position conflicts
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-11 19:00 UTC by tdanard
Modified: 2015-08-17 06:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tdanard 2015-08-11 19:00:00 UTC
When running an application based upon the NetBeans platform, there are often logs indicating that two layer.xml entries have identical "position" attribute values.

I am not sure which mechanism is currently used. I have observed that during normal development, not all warnings are displayed for all modules: warnings appear only for modules recently modified or actually used?

While those warnings are nice to have, this validation should be possible without running the application.

A right-click to the <this layer in context> folder seems to be right place for a contextual menu leading to that validation.
Comment 1 Jaroslav Havlin 2015-08-17 06:45:54 UTC
> warnings appear only for modules recently modified or actually used?
Warnings are displayed only for activated modules.

> While those warnings are nice to have, this validation should be possible
> without running the application.
Reassigning to apisupport/Project.