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 239074 - WinAVR tool collection family not recognized anymore after plugin update.
Summary: WinAVR tool collection family not recognized anymore after plugin update.
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 7.4
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-03 10:33 UTC by -Silver-
Modified: 2013-12-09 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description -Silver- 2013-12-03 10:33:14 UTC
After the last update of c/c++ plugins, Netbeans 7.4 (on Windows 7 64bit) doesn't recognize the WinAVR tool collection family anymore.
Actually the "WinAVR" tool collection family has been replaced with "GNU WinAVR" but I supposed that it was just a label change. Now when I try to configure the tool collection, if I put the path of my WinAVR compiler as base directory and select "GNU WinAVR" Netbeans tell me that "No compiler sets were found in the directory" . 

Step to reproduce the problem:
1)Download and unpack the official Arduino IDE (It is needed because contains the WinAVR compiler.
2)Install NetBeans IDE 7.4 Build 201310111528 with a clean profile
3)Execute Netbeans
4)A notification advices you that there are plugin updates IGNORE IT
5)Go to tools -> Options -> C/C++ -> (Activate if necessary) -> Add.. (the button under tool collection)
6)In the base directory field insert the arduino compiler path (eg. C:\arduino-1.0.5\hardware\tools\avr\bin )
7)In the tool collection family select "WinAVR" 
8)The compiler is correctly recognized. The OK button is activated and you can proceed with the configuration. DON'T PRESS OK, cancel the procedure.
9)Start the netbeans update and, when required restart it.
10)Go to tools -> Options -> C/C++ -> (Activate if necessary) -> Add.. (the button under tool collection)
11)In the base directory field insert the arduino compiler path (eg. C:\arduino-1.0.5\hardware\tools\avr\bin )
12)In the tool collection family "WinAVR" is not available anymore, try to select "GNU WinAVR" or "Unknown".
13)Netbeans shows the message "No compiler sets where fount in the directory C:\arduino-1.0.5\hardware\tools\avr\bin", the OK button is disabled and you can not continue with the configuration. :(
Comment 1 Alexander Simon 2013-12-03 12:55:11 UTC
It is not a defect.
IDE support WinAVR tool collection and do not know tool collection from Arduino\hardware\tools\avr\bin
Comment 2 Alexander Simon 2013-12-03 12:59:11 UTC
You can create own tool collection descriptor which will recognize tool collection from Arduino IDE.
The simplest way is:
- create shadow of the tool collection descriptors
- duplicate of WinAVR descriptor and change C/C++ recognizer pattern
Comment 3 -Silver- 2013-12-03 13:05:14 UTC
(In reply to Alexander Simon from comment #1)
> It is not a defect.
> IDE support WinAVR tool collection and do not know tool collection from
> Arduino\hardware\tools\avr\bin

The fact is that Before the update Netbeans was able to know it, just after the update Netbeans doesn't know it anymore.
In any case thanks for the suggestion, I'll try to create my own collection descriptor.
Regards
Comment 4 Alexander Simon 2013-12-03 13:13:04 UTC
(In reply to -Silver- from comment #3)
> The fact is that Before the update Netbeans was able to know it, just after
> the update Netbeans doesn't know it anymore.
It will be fixed in patch 2 of NB 7.4
See bug #238627