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.
Build 200501271900 1) Have a Java freeform project 2) Open project's context menu 3) ERROR - it differs from UI spec - 'Set Main Project' should be 'Set as Main Project' - remove 'Open Required Projects' - add 'Delete' - add 'Tools >'
"Set Main Project' should be 'Set as Main Project'" is probably bug in the UI Spec and WANTFIX since it is called 'Set Main Project" also in J2SEProject. Or should it be changed everywhere to "Set as Main Project?" remove 'Open Required Projects' - OK add 'Delete' - Uf, this has to be a bug in UI Spec, very dangerous action, what if the project is library one? May cause lots of problems to IDE. - add 'Tools' - really? There is no Tools on the J2SEProject.
Tomas, wait please. We have to keep the UI consistent with J2SE project. The spec is wrong in this case. The spec should state this: New > ---------------------------- Build Project Clean & Build Project Clean Project Generate Javadoc for Project ---------------------------- Run Project Debug Project Test Project ---------------------------- ... <custom build targets> ... ---------------------------- Set as Main Project Open Required Projects Close Project ---------------------------- Find... ---------------------------- Properties I am not sure about the "Set Main Project" vs. "Set as Main Project". John, could you please help us what is correct in this case? Thanks. I will correct the spec.
Adding Tomas to Cc. I am not sure you get my response (so that you don't remove/add those items that should/shouldn't be there :-). Please read the previous comment. I will updated the spec.
Thanks, I will wait till the UI Spec is updated.
I've fixed the spec. I keep the "Set as Main Project" in the spec, because it's like that in all other specs. I am not sure why the implementation of all projects has "Set Main Project". I checked with Geertjan that "Set as Main Project" is better. We should either fix it in all projects or keep "Set Main Project" for now and change it after 4.1 (in all projects). The new menu copied from the URL field: New > ---------------------------- Build Project Clean & Build Project Clean Project Generate Javadoc for Project ---------------------------- Run Project Debug Project Test Project ---------------------------- ... <custom build targets> ... ---------------------------- Set as Main Project Close Project ---------------------------- Find... ---------------------------- Properties
Jano, 'Clean & Build' should be 'Clean and Build'.
Corrected. "Clean & Build" replaced by "Clean and Build".
*** Issue 54143 has been marked as a duplicate of this issue. ***
So what is still wrong? Jano please put "Open Required Projects" back in the context menu in the spec - it needs to be there for the same reason it needs to be in the context menu for any project type which supports subprojects.
Jesse, how can anything be subproject of freeform project? I don't see any way how to do it through UI. (my fault?)
The freeform project customizer UI has no explicit list of subprojects - it is computed automatically, when you specify a classpath entry which is the exported artifact of another project. In project.xml, <subprojects> enumerates them.
Nothing actually wrong that I am aware of.
I've added back "Open Required Projects" to the spec.