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.
Summary: | Main project action enablement status not changed after changing action bindings in freeform project | ||
---|---|---|---|
Product: | projects | Reporter: | pzajac <pzajac> |
Component: | Ant Freeform | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | CC: | phrebejk |
Priority: | P4 | Keywords: | API |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 46886, 51151 | ||
Bug Blocks: | 42682 | ||
Attachments: | exception stacktrace |
Description
pzajac
2004-08-12 16:16:39 UTC
The IllegalArgument exception is thrown when the targed doesn't exist in the ant script. See to the attachment. Created attachment 16782 [details]
exception stacktrace
Freeform, not j2seproject. Well there is no way currently to fire a change in the set of actions supported by a project. No solution for D (would require an API change). Anyway, as you found, the workaround is straightforward, and there is no loss of functionality. Can put in a temporary tweak to make the recovery smoother if you try to run a disabled command (should then disable the action). Minor robustness improvement as mentioned: committed Up-To-Date 1.7 projects/projectui/src/org/netbeans/modules/project/ui/actions/MainProjectAction.java *** Issue 48783 has been marked as a duplicate of this issue. *** *** Issue 50499 has been marked as a duplicate of this issue. *** Note: proposed fix of issue #46886 would render this a P5 (probably) since standard actions would always be enabled anyway. *** Issue 52879 has been marked as a duplicate of this issue. *** Skip it; with issue #46886, it doesn't matter much. I agree |