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 220788 - Need drop down menu in "Run Directory" and "Environment" properties of project panel
Summary: Need drop down menu in "Run Directory" and "Environment" properties of proje...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 22:05 UTC by igor_nikiforov
Modified: 2014-05-20 13:45 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 igor_nikiforov 2012-10-24 22:05:26 UTC
one of a biges UI improvment in project | Run panel for spica IDE is drop down menu of run command, which record the history of run command that user used. Now I use it a lot for my daily development of using IDE.

For "Run Directory" and "Environment" IDE should do the similar thing that record history and provide a drop down menu for user.
Comment 1 igor_nikiforov 2012-11-15 10:22:28 UTC
Workaround:

It's possible to set Run Command in the following format:
  sh -c 'cd <workdir>; <env> ${OUTPUT_PATH} <arguments>'
where
  <workdir> - working directory you want to set;
  <env> - environment in the following format VAR1=val1 VAR2=val2;
  <argument> - list of command-line parameters.
For example
  sh -c 'cd /tmp; TEST=111 ${OUTPUT_PATH} "arg 1" "arg 2" "arg 3" "arg 4"'

As far as Run Command field has history it will be easy to switch between different combinations of arguments, environment and working directories.