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.
Run command can contains environment variables and built-in variables. But if binary contains environment variables, IDE does not expand it. Example: Lets LLVM_SRC environment variables is defined default environment. The run command: ${LLVM_SRC}/build/bin/clang++ --version does not work. Other use cases: 1. Expansion of additional environment variables. Additional environment variable: LLVM=${LLVM_SRC}/build/bin Run command: ${LLVM}/clang++ --version 2. Run command in additional environment variables. Additional environment variable: LLVM=`echo ${LLVM_SRC}/build/bin` Run command: ${LLVM}/clang++ --version 3. Run command to count binary file Run command: `echo ${LLVM_SRC}`/build/bin/clang++ --version 4. Run command to count binary file by additional environment variables. Additional environment variable: LLVM=${LLVM_SRC}/build/bin Run command: `echo ${LLVM}`/clang++ --version
fixed in enum, branch release82, changeset 188a9c97fd8b
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ba6b2f6a3fb0 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #270251 Launchers should support environment variables in the binary declaration. (transplanted from 188a9c97fd8b07f4a0f35b5306425bab7ffbb292)
https://netbeans.org/bugzilla/show_bug.cgi?id=270251 Changesets: http://hg.netbeans.org/releases/rev/188a9c97fd8b # fixed Bug #270251 Launchers should support environment variables in the binary declaration.
Verified in netbeans-8.2-20170424.