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 FolderLookup has been deprecated but contains no pointer in its Javadoc to its replacement. A quick @see tag or description of what class or group of classes is intended to replace its functionality in NetBeans 6 would be helpful.
Note that I also found nothing about this at: http://bits.netbeans.org/6.0/javadoc/apichanges.html
And the reference to Lookups.forPath is what? http://bits.netbeans.org/dev/javadoc/org-openide-loaders/org/openide/loaders/FolderLookup.html
Created attachment 59173 [details] Javadoc view in NB 6.0.1 showing the FolderLookup class
The Javadoc view in the IDE is, for some reason, not displaying this information. The message in your web reference does appear if you open the actual Javadoc in a browser, but not in the Javadoc view within NetBeans.
Should be fixed in the current dev build.
But in the documentation is no answer how to replace the the deprecated loopkup-Method with forPath. Please note: forPath includes subolders: "and use Lookups.forPath(theFolderName) to retrieve a lookup implementation which will scan this folder and its subfolders for data objects with InstanceCookie matching the lookup template": http://bits.netbeans.org/dev/javadoc/org-openide-util/org/openide/util/doc-files/api.html#folderlookup The FolderLookup works only for the current folder. best regards, josh.
Hi! I need more clarification about the API. FolderLookup is deprecated, Lookups.forPath works recursive and Utilities.actionsForPath works recursive. Well, is it impossible to replace the FolderLookup call? Is this an API issue? Should this issue reopended? best regards, josh.