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 209269 - Execution should be aware of user environment
Summary: Execution should be aware of user environment
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 13:44 UTC by Alexander Simon
Modified: 2016-03-23 11:03 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 Alexander Simon 2012-03-07 13:44:32 UTC
Complicated projects tend to do anything using specific environment.
Users that working on such projects do following actions:
- compile
- build
- run
in special environment or in special environment shell.
IDE should allow doing the same.
Of course user can start IDE with needed environment or from environment shell.
But this approach does not work for full remote project.
For example:
1. ADE force user to do anything in special environment shell:
#ade useview my_product
2. OpenSolaris uses:
#env -i /opt/onbld/bin/bldenv ./sfw-opensolaris.sh

Work around for projects on local file system:
- start IDE with needed environment (or from environment shell).
Work around for full remote project:
- user can provide profile script on remote host that set up needed environment. But it does not work if user should do anything from environment shell.

Requirement:
Provide SPI that allow setup environment or environment shell for native execution. Environment should be used for compile/build/test/run commands.
Comment 1 Vladimir Kvashin 2016-03-23 11:03:58 UTC
I would just like to note that there is a related issue 167294 that is filed by user rather long ago.