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.
Our product is a client/server application. In testing, we use different execution types to quickly choose between different servers that we want to test on. Looking at IDEA, one thing we noticed was that the execution type was specified in a combo box on the toolbar. We decided not to use IDEA for several reasons, but that one feature has stuck with me. As I frequently navigate the options to set the default execution type in netbeans, I think of how nice this feature would be to have. It is possible the execution type is not a common thing to change for most people, but the fact that IDEA had it makes me think that others might benefit from this as well.
This will be handled by new projects. There is a concept of project execution profiles (my terminology might not be correct) and you should be able to easily choose from list of available ones. See projects UI spec <http://projects.netbeans.org/uispecs/infrastructure/ProjectsInfrastructureUISpec.html#Process:_Project_Startup>. (however I do not know how uptodate the doc is). Moving issue to Java module.
Yes, new projects implementation will cover this RFE.
While this is being considered, how about an easy way to execute the project via the project main class. I rarely use the execution button on the toolbar since I need to select the file in the editor or explorer first anyway. I do have other executable files in my project that I run from time to time, bug when I do I just find them in the explorer and use the right-click menu or just hit F6. To run the main class, I scroll to the top of the explorer and select the project node and hit F6. I would recommend leaving the current functionality unchanged, but just adding another option that would always execute the project main class.
Removed PROJECTS keyword since the projects prototype has been canceled. For more details see http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss
*** This issue has been marked as a duplicate of 49636 ***