javanetbeansutilitiesplatformopenide

netbeans platform tutorial problem


I am reading the Netbeans Platform Quick Start tutorial (http://platform.netbeans.org/tutorials/nbm-quick-start.html), and I do not clearly understand the 6th part in the section "A Modular Application Using Lookup", the TIP:

At compile time, the @ServiceProvider annotation will create a META-INF/services folder with a file that registers your implementation of the TextFilter interface, following the JDK 6 ServiceLoader mechanism. You need to set a dependency on the Utilities API module, which provides the ServiceProvider annotation.

Does anybody know in which module I should set dependency to Utilities API module? Because when I set the dependency in MyFilter, the compiler tells me that it "cannot find symbol".


Solution

  • I got it, I used older version of netBeans that not support that. This is available since 6.7 version