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.
In nb 3.6 there were properties for a main() class type that allowed for running the class and specifying parameters. This proved to be very useful for me to test some classes within my web application that had a main() method. The new implementation seems to allow only to "run" at the project level with the granularity I need. The option to "Run" against a single class is useful, but I can't specify any parameters! Either add the properties back to the class, allow for multiple configurable "Run" configurations per project (meaning that for web projects also allow a configuration for 'main' classes), or add a "Run..." to the right click context menu allowing to specify command options when ran. (Perhaps even remember the last parameters used, in case a class accepts a long string of parameters) Thanks! -Sean
No current plans to implement, but possible. Naturally you can add Ant targets to run such classes with whatever arguments you like, but this is not currently supported in the GUI. *** This issue has been marked as a duplicate of 49636 ***