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.
Sources: ================================================= Makefile ================================================= CC=g++ CFLAGS=-g test1: test1.cpp $(CC) $(CFLAGS) -o test1 test1.cpp clean: rm -f test1 ================================================= test1.cpp ================================================= int main(int argc, char** argv) { return 0; } ================================================= Scenario: - Call New C/C++ Project with Existing Sources wizard - Create project with default options - Run project ==> ok - Open Project Properties window - Check Build|Make|Build Result field ==> I see: test1 - Check Run|Run Command field ==> I see: "${OUTPUT_PATH}" - Select Launchers category - Press New button - Set Run Command = "${OUTPUT_PATH}" - Press OK - Call context menu on project's node and select Run|launcher1000 ==> /bin/sh[1]: exec: test1: not found RUN LAUNCHER1000 FINISHED; exit value 127; real time: 0ms; user: 0ms; system: 0ms Workarounds: 1) Use "./${OUTPUT_PATH}" in launchers 2) Use "${PROJECT_DIR}/${OUTPUT_PATH}"
3) Use ./test1 in Build|Make|Build Result field
If user pressed "New" button, then IDE can fill "Run Command" field. I expect "${PROJECT_DIR}/${OUTPUT_PATH}" or "./${OUTPUT_PATH}" default value.
Integrated into 'main-silver', will be available in build *201608250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3056720f2aad User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #267446 Launchers: "${OUTPUT_PATH}" doesn't work in some cases
additional fix: http://hg.netbeans.org/cnd-main/rev/ef3c46b5b8fb - add completion with predefined macros
Integrated into 'main-silver', will be available in build *201608260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ef3c46b5b8fb User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #267446 Launchers: "${OUTPUT_PATH}" doesn't work in some cases