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.
The current way (findURL(Lookup, ...)) is ugly to implement and probably broken anyway. Find a better way to: - identify the PathResource for the API client, so it can recognize the PathResource when extracted from a ClassPath - provide a way to determine that 2 resources are equal
The PathResource's method findURL will be removed and the getDefinition method will return FsMember (new class which behaves like PM, but does not require project). The resource can b identified by its FsMember The equals operation is up to resource implementation, there is no easy way how to find if two resources of different type represent the same physical resource. So, resources are equivalent only if they are of the same type and their equals method returns true.
This should be solved by the getHandler() method on the PathResource.
Fixed
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