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 54474 - User cannot set arguments for sinle class file
Summary: User cannot set arguments for sinle class file
Status: RESOLVED DUPLICATE of bug 49636
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: jrojcek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 14:06 UTC by alesak
Modified: 2005-04-06 20:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alesak 2005-02-03 14:06:22 UTC
In all previous versions of the IDE was possible
to set command line arguments for each single
class file, however there is not same option in
NB4.0 at all, only arguments could be set for
project main class, which is useless when I have
package with many utility like class files which i
I wish to run  . This possibility should be added
back to the IDE.
Comment 1 ehucka 2005-02-07 11:16:32 UTC
move to core
Comment 2 David Simonek 2005-02-10 12:38:20 UTC
Emanual, why core/ui? This clearly belongs to projects I believe.
Comment 3 Tomas Zezula 2005-02-23 17:46:57 UTC
I am not friend of "Run Single" action, if it were up to me it
wouldn't be in NetBeas at all. The execution should be solved by exec
profiles.
But reassigning to Jano to decide if we wnat to support it or to close
this as WANTFIX.
Comment 4 Milan Kubec 2005-03-15 09:58:35 UTC
I think that this is perfectly valid request.

It could be solved by introducing new action called 'Run With Arguments' along
with Run File, the action would just ask for argument for currently selected
executable class and execute it with the entered argument.
Comment 5 alesak 2005-04-04 05:50:48 UTC
I think that parameters should be persistent as it was in NB 3.6 for each class.
Entering it every time when class is run will be cracy :)
Comment 6 tomzi 2005-04-04 08:00:23 UTC
we could have both proposals merged as well..

Run with Arguments...
[x] save this arguments

where the arguments can also be viewed in the properties of the class... (as b4
in nb3.6)

Are there other approaches to this as well? (eg. a 'Create Execution-Ant-Task'...)
Comment 7 Jesse Glick 2005-04-06 20:02:18 UTC

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