[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] ${container_loc} variable doesn't work in build configuration in CDT 6.0

Hi,
 
expansion of certain eclipse variables has been disallowed due to problems with deadlocks.
In general the use of variables which depend on the current selection in the UI are not allowed.
See http://bugs.eclipse.org/260524 for reference.
 
Regards,
Toni


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Olexiy Buyanskyy
Sent: Monday, March 09, 2009 5:25 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] ${container_loc} variable doesn't work in build configuration in CDT 6.0

Hi,

I think that variable was deprecated, but not sure 100%
You may reintroduce it again using org.eclipse.core.variables.dynamicVariables extension point.
Or maybe that was not good idea to remove those variable and someone may return them back.
We used some of deprecated variables too for our build system and had to find workaround.

--
Olexiy

On Mon, Mar 9, 2009 at 9:43 AM, Jeroen Dhollander <jeroen.dhollander@xxxxxxxxxxxxxxxxxx> wrote:
Hey all,

In our company we have a huge project, which uses custom makefiles. To speed things up we created a build configuration which only builds the directory of the currently selected file. To achieve this behaviour we used ${container_loc} as "Build Directory".
So our build configuration looks like this ( project > properties > C/C++ Build > Builder Settings ):
  - Build command:    D:\bin\bash.exe -c "echo build directory `pwd` && make && echo FINISHED"
  - Build Directory:   ${container_loc}

In CDT 5.0.1 and 5.0.2 this works correctly as you can see in the build output:

**** Build of configuration mkdir for project CURRENT_B ****

D:\bin\bash.exe -c echo build directory `pwd` && make && echo FINISHED
build directory D:\home\jeroend\ws_i\b\panos\rapidlogic
make: Niets te doen voor `lib'.
FINISHED

However, in CDT 6.0.0 the ${container_loc} variable doesn't seem to work as we always stay in the project root:

**** Build of configuration mkdir for project CURRENT_B ****

D:\bin\bash.exe -c echo build directory `pwd` && make -j5 && echo FINISHED
build directory D:\home\jeroend\eclipse\CURRENT_B
make: *** Geen doelen gespecificeerd en geen makefile gevonden.  Stop.

Am I overlooking something or is this a bug?

With kind regards,

Jeroen
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev