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.
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
Reassigning to Execution for evaluation.
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.