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 32277 - Specify how to run single class
Summary: Specify how to run single class
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Chris Ledantec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 10:21 UTC by Vitezslav Stejskal
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2003-03-25 10:21:20 UTC
One easy way to create a new profile from an
executable object would be to use a "Run With
<class name>" menu item.  This item would create a
profile using the executable, and would then run
with that profile.

Chris, please, specify this in uispec, add a link
in this issue and reassign back to code category
owner.
Comment 1 Tomas Zezula 2003-03-25 10:38:21 UTC
Special care has to be taken about the performance, should this action
be enabled only on Java files which have public static void main
(String[]) method, if so parsing of the file is required while
building the menu, this can cause serious performance problems. 
Other solution is to have this action on all Java files (which are in
project) and if the class has no p. s. v. main (String[]) it ends with
some message.
Comment 2 Chris Ledantec 2003-03-26 13:29:08 UTC
let's not worry about this one for the usability study. i'd rather see
us have normal profile creation done to spec and then we can look at
results from the test to see if this feature is really necessary
-especially given the performance hit it may entail.
Comment 3 Tomas Zezula 2003-04-10 13:48:27 UTC
Fine, however I steel wory about performance.
Comment 4 Tomas Zezula 2003-04-14 17:33:10 UTC
Implemented.
Comment 5 Jan Becicka 2003-11-25 14:00:17 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 6 Jan Becicka 2003-11-25 14:09:04 UTC
---> CLOSED
Comment 7 Quality Engineering 2007-09-20 09:59:19 UTC
Reorganization of java component