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.
NetBeans build 201209210001 JDK 7u5 64-bit I created a new standalone Ant-based module. And used the Project Template wizard to create a project template based on another module. However, the generated code did not compile, with the following error: C:\Projects\Tests\questions\module10\src\as\BlaWizardIterator.java:73: error: cannot access Lookup unZipFile(template.getInputStream(), dir); class file for org.openide.util.Lookup not found I had to manually add a dependency on the Lookup API to solve this problem. I believe that this dependency should be added by the wizard just like the others (Utilities API and so forth). This is a regression in terms of functionality since the same process works with NetBeans 7.2.
hmm, works in maven projects because the util.lookup dependency gets pulled transitively
http://hg.netbeans.org/core-main/rev/80d88200eb3f
Integrated into 'main-golden', will be available in build *201209260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/80d88200eb3f User: Milos Kleint <mkleint@netbeans.org> Log: #218735 need util.lookup next to util module dependency
Verified with build 201209260001.