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 185664 - Fix problems with execution environment (env variables)
Summary: Fix problems with execution environment (env variables)
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks: 182062
  Show dependency tree
 
Reported: 2010-05-07 07:55 UTC by Andrew Krasny
Modified: 2010-05-12 13:22 UTC (History)
0 users

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 Andrew Krasny 2010-05-07 07:55:42 UTC
This is an umbrella issue. There are several issues filed against mess in user's environment while execution. Below are some of them:
- environment depends on selected output type
- users, whose default shell is ksh/csh have problems with PATHs.
- execution overrides LD_LIBRARY_PATH/LD_PRELOAD
- .bashrc is executed even if bash is not user's login shell
Comment 1 Andrew Krasny 2010-05-11 12:44:28 UTC
Related fixes:

http://hg.netbeans.org/cnd-main/rev/76f8fb1b1238
http://hg.netbeans.org/cnd-main/rev/94b955eaf29f

Need careful testing. I have tried following configurations:

solaris x86_64: 
local/remote with/w\o profiling in all types of output - looks good

win7 64:
cygwin (with/w\o in PATH)
local/remote with/w\o profiling in all types of output - looks good

only msys (with/w\o in PATH)
local/remote with/w\o profiling in all types of output - looks good
['stand-alone' internal terminal fails [it REQUIRES cygwin]]

msys+cygwin - looks good
Comment 2 Andrew Krasny 2010-05-12 13:22:33 UTC
problems described in the issue are fixed. 
still there is some instability in tests that need to be investigated. will file a separate bug for this.