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.
BuildTargetDescriptor is derived from ContentDescriptor which returns null for the getVisualObject method. If this method is not overridden, a build target will not be displayed. I think this should be overridden by returning getProjectMember either in BuildTargetDescriptor or ContentDescriptor. This will enhance the developers experience by providing a reasonable default.
Another possible solution would be to make the getVisualObject method abstract in ContentDescriptor. Then everybody should know that it has to be implemented somehow, will read javadoc and provide appropriate impl. Opinions?
Most of the time the implementation will be to return ProjectMember. Therefore returning it directly in CD will lower burden on the CD writers to learn and understand how to implement CD correctly.
Fixed. ContentDescriptor.getVisualObject() changed to return ProjectMemeber.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED --->
---> CLOSED