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 193297 - Allow "Run File" for module suite projects (or modules)
Summary: Allow "Run File" for module suite projects (or modules)
Status: RESOLVED DUPLICATE of bug 66422
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 17:11 UTC by tkellerer
Modified: 2011-04-12 14:30 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 tkellerer 2010-12-12 17:11:34 UTC
The option "Run file" is disabled for classes with a main method when this class is part of a module (inside a module suite application)

Running a simple main method should be possible even within a module suite application.
Comment 1 Jesse Glick 2011-01-07 00:59:27 UTC
It is offered for classes with a main method inside a test root, as a convenience for writing demos and the like. Since a module has an entirely different runtime environment than the standard Java launcher and the main method would not be used in production code, this is not supported for classes in the main source root.
Comment 2 Jesse Glick 2011-04-12 14:30:25 UTC

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