Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340483 - path variable is not regared when running "build selected"
Summary: path variable is not regared when running "build selected"
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows 2000
: P3 minor with 1 vote (vote)
Target Milestone: 8.1.0   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Andrew Gvozdev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 05:08 EDT by ewald CLA
Modified: 2012-03-13 14:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ewald CLA 2011-03-19 05:08:21 EDT
Build Identifier: CDT 8.0.0 weekly builds of 2011-02

I need to use a special g++ version at a non-standard path. For that reason the c++ build environment variable contains that location like:

PATH ==>
${workspace_loc}/bin/ups-win32/mingw;${workspace_loc}/bin/ups-win32/gcc-4.3/bin;${PATH};${workspace_loc}/bin/ups-win32

This works fine in regular builds. But when running a "selected build" on a single file the g++ executable is not found. Obviously the path environment is not extended as requested.

As a workaround I extend the system path which works but can't be done on a project basis.

Reproducible: Always

Steps to Reproduce:
1. add non-standard path to environment variable in project settings
2. build project ==> works
3. run "build selected" from context menu on c++ file
4. non-standard g++-4.3 is not found
Comment 1 Andrew Gvozdev CLA 2012-03-13 14:01:08 EDT
It should get working after fix for bug 364733.