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.

Bug 89714

Summary: "Run File" should work for any class with a "main"
Product: java Reporter: rrochat <rrochat>
Component: EditorAssignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker CC: markiewb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description rrochat 2006-11-21 03:50:27 UTC
I have inherited a lot of classes with a "main" method that's used for GUI
sanity testing and have to go back to a command-line interface to exercise them
because they're now in modules and "Run File" isn't enabled.

Why can't "Run File" be supported for ANY class with a main() method?  I realize
there are a lot of special-cases, but why can't there be a simple default for
the simple cases?
Comment 1 Peter Pis 2007-08-31 11:02:06 UTC
Reassigning to "core".