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 227297 - add ability to adjust PATH environment variable
Summary: add ability to adjust PATH environment variable
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 7.3
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 14:38 UTC by vkotal
Modified: 2015-10-14 12:57 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 vkotal 2013-03-11 14:38:02 UTC
I've started using Netbeans 7.3 on OS X (10.7). When working on package which executes Mercurial binary /usr/local/bin/hg and it fails to do so because /usr/local/bin is not in PATH in the process spawned by Netbeans. Granted, I could launch Nebeans from command line since /usr/local/bin is added to PATH in my ~/.profile (and avoid tinkering with stuff like environment.plist) but I'd rather like to have the ability to adjust PATH per project. There are various cries for help over the net for this functionality, e.g.: http://stackoverflow.com/questions/2551039/how-do-i-specify-the-path-in-netbeans , http://forums.netbeans.org/topic2526.html , http://netbeans-org.1045718.n5.nabble.com/Setting-the-PATH-Environment-Variable-td3046736.html
Comment 1 Antonin Nebuzelsky 2013-03-12 12:19:22 UTC
Reassigning to Execution for evaluation.
Comment 2 Petr Hejl 2015-10-14 12:57:12 UTC
The extexecution api provides a comfortable way to change PATH. Just note the PATH is shell related and thus one may still need full path executable.