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 116211 - Request to enable run file of files with main method
Summary: Request to enable run file of files with main method
Status: RESOLVED DUPLICATE of bug 119922
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 18:43 UTC by i30817
Modified: 2008-10-16 13:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description i30817 2007-09-20 18:43:29 UTC
Some libraries have examples and tests inside main methods of the respective classes. I noticed that netbeans doesn't
allow to run these files, and I am asking that this is enabled. I notice that the member view already knows that there
is a main(String [] a) method in the class so the information must already be avaible.
Comment 1 Peter Pis 2007-10-01 13:34:32 UTC
Reassigning to "projects".
Comment 2 Milos Kleint 2007-10-01 13:38:13 UTC
what project type are you using? the default java application project type has the Run File action on the popup of the
classws with main(String[]) method.
Comment 3 Jesse Glick 2007-10-01 16:27:55 UTC
Reporter seems to be talking about actual libraries, not projects.
Comment 4 Milos Kleint 2008-10-16 13:15:01 UTC
duplicate of #119922

*** This issue has been marked as a duplicate of 119922 ***