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 267996 - "Modify Tool Collection Path" check box doesn't work if "Use Build Analyzer" check box is switched on
Summary: "Modify Tool Collection Path" check box doesn't work if "Use Build Analyzer" ...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project Discovery (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 13:17 UTC by soldatov
Modified: 2016-12-09 14:54 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 soldatov 2016-09-13 13:17:40 UTC
Makefile
==========================================
test: test.cc
	@echo "New PATH = ${PATH} (build)"
	g++ -g -o test test.cc

clean:
	rm -f test test.exe

test.cc
==========================================
#include <iostream>
#include <cstdlib>

int main(int argc, char** argv) {
    std::cout << "New PATH = " << getenv("PATH") << " (run)" << std::endl;
    return 0;
}

==========================================

Scenario:
- Create new "C/C++ Project with Existing Sources" project
- Push Tools|Options menu item
- Select C/C++ > Build Tools tab and press $PATH button
- Add "C:/tmp;" to both text fields
- Press OK button
- Press OK button
- Call Project Properties window and switch off "Modify Tool Collection Path" check box
- Build project
==> on Windows (MacOSX??) I see "C:/tmp" folder in Build tab too

Workaround: Switch off "Code Assistance|Use Build Analyzer" too.
Comment 1 Alexander Simon 2016-11-10 15:01:15 UTC
fixed in enum, branch release82, change set: d4ff4850cc2e
Comment 2 Quality Engineering 2016-11-16 02:51:05 UTC
Integrated into 'main-silver', will be available in build *201611160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/83d18304a1a9
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #267996 "Modify Tool Collection Path" check box doesn't work if "Use Build Analyzer" check box is switched on
(transplanted from d4ff4850cc2e8f61fc5fa677ed766eaa4dd89d18)
Comment 3 soldatov 2016-12-09 14:54:01 UTC
Verified in internal NetBeans 8,2 patch 1 build.