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 227288 - Include path clobbered for .C files
Summary: Include path clobbered for .C files
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 13:41 UTC by BillyPilgrim
Modified: 2013-03-12 11:50 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 BillyPilgrim 2013-03-11 13:41:35 UTC
Created a C/C++ project from existing sources, specified include directories for C files.  Executing the compiler erases the include path -- re-entering the properties for the project show that entry to be blank (and, of course, compilation fails).

Running Ubuntu 12.10 (32 bit) as guest on VM workstation with host Window7.

This was not a problem in 7.2 and is not a problem for C++ files.
Comment 1 soldatov 2013-03-11 14:03:38 UTC
Can you describe your problem step by step?
Comment 2 Vladimir Voskresensky 2013-03-11 14:21:43 UTC
Please, provide Help->About information and more detailed steps
Comment 3 Vladimir Voskresensky 2013-03-12 11:24:36 UTC
Those changes should be reflected in the project/make files -- making it necessary to enter them manually is crazy.б═ To erase properties that I have specified is equally crazy.
(There is no need to protect me from myself :).

On 3/11/2013 10:32 AM, Valeriy Soldatov - Oracle - St. Petersburg Russia wrote:
> You will discuss this problem with dev-team in bug tracker.
> Main idea:
> After long vacation you opens NetBeans and makes "hg pull -u". You 10 co-workers added a lot of changes in code and Makefile. Therefore new build command will reconfigure project.
>
> On 11.03.13 18:24, Billy Pilgrim wrote:
>> Why would 'clean include directories' be expected behavior?б═ If I have to specify them, I want to keep them for subsequent builds -- as was true in 7.2.
>>
>> The build issues were not the problem, the fact that the include directories was cleared was the problem.
>> (The build issues were mine -- not netbeans).
>>
>> On 3/11/2013 10:21 AM, Valeriy Soldatov - Oracle - St. Petersburg Russia wrote:
>>> Clean "Include Directories" is expected behavior in NetBeans 7.3, but I can't understand why any changes in project properties will break build? Your Makefile contains all paths to header files and IDE can't modify Makefile.
>>>
>>> On 11.03.13 18:13, Billy Pilgrim wrote:
>>>> It was essentially what I wrote in the bug report:
>>>> Create a new project from existing sources (with Makefile).
>>>> (The project is the TURN/STUN server from creytiv.com (restund)).
>>>> it will automatically attempt a clean build -- it failed (due to include file could not be found).
>>>> Went to project properties, (see screen shot). specified the include directory (../re-0.4.2)
>>>> apply/close/build.
>>>> build fails because it cannot find the include file (the path of which I just specified).б═
>>>> Going back to project properties, the include path for C files is blank.
>>>>
>>>>
>>>>
>>>> I hope this helps -- if you need more info, please let me know.
Comment 4 Alexander Simon 2013-03-12 11:50:35 UTC
Not a bug.
Open project properties and uncheck:
Code Assistance->Use Build Analyzer
check box.
The IDE stops reconfiguring code assistance.