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.
Maintaining layer.xml is a) error prone b) a pain c) XML is more trouble than its worth (IMHO) in most cases It would be great it we could replace all of this using EJB 3.0-style annotations, e.g.: @File("/Actions/Edit") @ShadowFile("Editors/text/x-jsp/Popup") public class MyAction extends CookieAction { } This would make module development much easier and faster. And it would automatically handle any refactoring you do as well (i.e. no need to synchronize refactored classes with their references in layer.xml).
Sounds interesting. Any opinions from the experts?
As a general enhancement this is probably a duplicate of issue 150804. However getting rid of layer.xml completely is not achieved. Reassigning to jglick.
Annotations were introduced starting in 6.7 for particular purposes.