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.
javadoc in org.netbeans.spi.project.ActionProvider says: /** * Standard command for running one file */ String COMMAND_RUN_SINGLE = "run.single"; // NOI18N Which suggests that it can be used for any type of file. The label of action is "Run Class". Change it to something more neutral (Run File, Run Selected Object, etc.)
Jano, suggested alternate label? Pavel, what are your use cases?
Changed to 'Run "<selected-file>"'. If no file is selected it is disabled and says "Run File".
Make the names as much neutral as possible
I meant made it neutral.
Deps backwards.
My use cases are running j2ee components. Specificaly running JSPs and Servlet - that means deploying the web module to server and showing the URL that corresponds to a given JSP/Servlet. What Jano suggests (and Petr implemented) works for me. Thanks.