Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350664 - Build button disabled when an element of an xml document is selected.
Summary: Build button disabled when an element of an xml document is selected.
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-other (show other bugs)
Version: 8.0   Edit
Hardware: All Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 04:04 EDT by kris Jacobs CLA
Modified: 2020-09-04 15:19 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 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.