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 165309 - need ability to run simple main from within NetBeansModule project
Summary: need ability to run simple main from within NetBeansModule project
Status: RESOLVED DUPLICATE of bug 66422
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 18:16 UTC by andybob
Modified: 2011-04-12 14:33 UTC (History)
1 user (show)

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 andybob 2009-05-15 18:16:04 UTC
It would be handy to have the ability to run Java files with separate mains from with a NetBeans module project.  I can
think of the following used cases.

1. As a module developer I'd like to run or debug a single file so I can quickly execute a file in a way that I think
will reproduce a bug I'm trying to fix.
2. As a module developer I might like to add some benchmarks to some classes in my module.
3. As a module developer I might like to reuse my file types or data model to generate some data files.   

Steps to Reproduce

1. Create Module project.
2. Create Java File with main method.
3. Compile Java File
4. Right click on file in project explorer.

"Run file" menu item is disabled.  It should be enabled.
Comment 1 Jesse Glick 2010-08-09 16:01:48 UTC

*** This bug has been marked as a duplicate of bug 154358 ***
Comment 2 Jesse Glick 2011-04-12 14:33:22 UTC

*** This bug has been marked as a duplicate of bug 66422 ***