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.
Due to the fix of bug #204615, getDependencyVersion for a module that already includes deps on some module supplies the dependency version, not the module list version. In the case of adding an action, if the deps on org.openide.{awt,util} are old, an old-style CallableSystemAction will then be created instead of using @ActionRegistration. In the short term, the patch to gDV should be rolled back. For a full fix, probably the NbModuleProvider API needs to differentiate between _current_ version and _potential_ version. This only applies to the Ant harness, since for the Maven harness dependency versions are generally managed externally and correspond to a specific release; a fix of bug #70917 would remove the distinction for the Ant harness too.
core-main #d3a859b2a862
Not sure what effect if any this fix has on Jackpot scripts as mentioned in bug #204615, but making wizards work correctly is surely a higher priority. Can this be a 71patch1-candidate?
(In reply to comment #2) > Not sure what effect if any this fix has on Jackpot scripts as mentioned in bug > #204615, but making wizards work correctly is surely a higher priority. Can > this be a 71patch1-candidate? Sure, as you reported the bug I think you can also verify and go ahead with integration into releases.
Verified by opening trunk sources of the diff module in 7.1 and creating a new "Action" - uses old CallableSystemAction idiom; same in a dev build with this fix uses new @ActionRegistration idiom.
releases #d91e5a9b2fa4
Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/d91e5a9b2fa4 User: Jesse Glick <jglick@netbeans.org> Log: #206885: Wizards do not generate code according to current API idioms
verified in 7.1.1 rc1 - new action in module (in dev platform) is created with @ActionRegistration