[ BUILD # : 201109180600 ]
[ JDK VERSION : 1.7 ]
Step to reproduce :
1 - Open a ant script node in File window.
2 - Right-click on a target
3 - Click on a "Create shortcut..."
4 - Check the "Add a Toolbar button" checkbox and click on "Next"
5 - Select the "&Run" toolbar and enter a shortcut name
Result : The shortcut does not appear in the toolbar.
Actually this bug only happens the first time you open NetBeans after installing.
After enabling Java feature and asking to add the shortcut, the registering file is indeed created, it is just not displayed until after you restart. Somehow AntActionInstance is not immediately functional.