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.

Bug 202318

Summary: Cannot create a toolbar shortcut from Ant target during first start
Product: projects Reporter: liguorien <liguorien>
Component: AntAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: ERGONOMICS
Priority: P4    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description liguorien 2011-09-19 15:31:14 UTC
[ 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.
Comment 1 liguorien 2011-09-23 17:55:14 UTC
Actually this bug only happens the first time you open NetBeans after installing.
Comment 2 Jesse Glick 2011-09-23 18:21:59 UTC
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.
Comment 3 Martin Balin 2016-07-07 08:38:19 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss