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.
Spec says following order: New > ---------------------------- Build Project Clean & Build Project Clean Project Generate Javadoc for Project Redeploy Project ---------------------------- Run Project Debug Project Test Project ---------------------------- ... But in fact it is: ---------------------------- Build Project Clean Project Clean & Build Project Run Project Generate Javadoc for Project Test Project ----------------------------
The exact context menu of a freeform project is determined by project.xml and the GUI customizer, so anything in the spec which says exactly what the context menu should look like cannot be useful. (More accurately: the central portion of the context menu is freely editable; the top and bottom are fixed.) However if the spec requests context menu items for targets to be added in a particular relative order by the initial wizard (remember that some or all of the suggested targets may not be there if they have no mapping, and other arbitrary targets may be there) then the wizard should be changed.
I know that available actions for menu are given by the actual script, but Build and Clean targets will be in 99% of scripts and those could possibly have the same order as regular J2SE Project, at least.
What is the problem with the spec? The order in contextual menu reflects the order of targets in the wizard and project properties. It is also consistent with other project types. I guess from UI point of view it is okay. In "Build and Run" project properties we have two different sections - the predefined targets and custom targets. The contextual menu reflects that.
Reassign back if you disagree.
OK, will change that order accordingly. Note that the freeform project type does not yet support separators between custom menu items, but I will add a note to that effect. Also trying to correct some apparent mistakes in the existing customizer form: (1) 'test' should always be shown, even in web app projects; (2) Redeploy was displayed below Test whereas the spec has it above.
Restoring the customizer form to a normal appearance after those (seemingly trivial) changes was quite a task... the joys of dynamically modified layouts.
committed * Up-To-Date 1.2 ant/freeform/build.xml committed * Up-To-Date 1.11 ant/freeform/src/org/netbeans/modules/ant/freeform/ui/TargetMappingPanel.form committed * Up-To-Date 1.18 ant/freeform/src/org/netbeans/modules/ant/freeform/ui/TargetMappingPanel.java
Verified in custom 20040729.