Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344060 - ${selected_resource_location} is not consistently populated
Summary: ${selected_resource_location} is not consistently populated
Status: RESOLVED DUPLICATE of bug 260524
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 19:28 EDT by Matt Hargett CLA
Modified: 2011-04-27 20:37 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 Matt Hargett CLA 2011-04-27 19:28:37 EDT
Build Identifier: 201104150807

selected_resource_location is not consistently populated; instead of relying upon the current select in Project Explorer, or the currently active editor tab, it appears to rely upon currently active focus. This causes a custom build command triggered via Control+B to break. (Custom tool invocation is also affected.)

Reproducible: Always

Steps to Reproduce:
1. open a Makefile project workspace, open a source file in the editor
2. make changes to the source file
3. click in a different tab (like problems or console)
4. press control+B
Comment 1 Andrew Gvozdev CLA 2011-04-27 20:37:59 EDT
That is exactly the reason why the variable is not supported.

*** This bug has been marked as a duplicate of bug 260524 ***