Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350664

Summary: Build button disabled when an element of an xml document is selected.
Product: [Tools] CDT Reporter: kris Jacobs <kris>
Component: cdt-otherAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: minor    
Priority: P3 CC: yevshif
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:

Description kris Jacobs CLA 2011-06-29 04:04:44 EDT
Build Identifier: M20110210-1200

Not sure if this is bug, or is intended behaviour, but ...

If an xml file is located within in a c/c++ project and is open in the editor, selecting an element of the xml heirarchy causes the build button to be disabled. Looking at the 'onSelectionChanged' method of ChangeBuildConfigActionBase.java, it doesnt seem to be able to associate a project with this type of IStructuredSelection.

Reproducible: Always

Steps to Reproduce:
1.Create c project containing xml file.
2.Open xml file in editor
3.select element of xml file.