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 have a subdirectory in my home directory named 'make'. The compiler chooser picked it! and tried to build using this: /home/ivan/./make
Fixed. Directories are no longer picked up as a compiler/make tool.
verified in build 20080314
It works only for newly created collections. But if to add folder where make is subfolder to the PATH and start IDE with fresh userdir then make directory is still picked.
1) I cannot reproduce it as you describe 2) I don't understand how it can happen by looking at the code. The code that handles new tool sets and default tool sets are the same so if works for one, it should work for the other. Please try again....
Steps to reproduce on windows platform: 1. mkdir C:\MinGW\bin\make 2. export PATH=C:\MinGW\bin\:$PATH (make sure there are no additional 'make' utilities in the PATH) 3. start IDE with fresh userdir 4. Open Tools/Options/C/C++ Make command textfield contains red text C:\MinGW\bin\make in the bottom of the window: "Make is missing or invalid" see attachment.
Created attachment 59147 [details] make directory in make command field
Fixed.
Integrated into 'main-golden', will be available in build *200911041401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cf2e5d96aa82 User: Thomas Preisler <thp@netbeans.org> Log: #105491 compiler chooser should not pick directories