Bug 414063 - Preprocessor Import Broken
Summary: Preprocessor Import Broken
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 15:49 EDT by Kaiwalya Joshi CLA
Modified: 2020-09-04 15:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaiwalya Joshi CLA 2013-07-30 15:49:54 EDT
I have a set of exported preprocessor defines which I import for every C++ Project. This bug partially existed in Eclipse C/C++ 4.2 as well, but now it's completely broken in 4.3

Steps to reproduce:
Create dummy C++ project, and create preprocessor values from:
Properties --> C/C++ General --> Paths and Symbols --> Symbols Tab, create a bunch of defines and then export it as a XML file.

Recreate Project and now try to import the XML file with preprocessor defines:
1. In import modal window. Browse and select the XML file. Then hit Finish.
2. Both import modal window and parent Properties window collapse. Expect only import modal window to collapse and define from XML file to show up under symbols.
3. Reopen Properties --> C/C++ General --> Paths and Symbols --> Symbols Tab and note that no changes were made. In 4.2, despite step 2, symbols used to show up so this bug wasn't a big deal.

Now manually re-add all the defines you exported to XML file.

Let me know if further information is needed.

Thanks.
Comment 1 Andrew Gvozdev CLA 2013-07-31 09:04:56 EDT
Do you get any exception in .log when it happens?