Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » External Run progs - Syntax rules for Variables(variables in external run programs)
External Run progs - Syntax rules for Variables [message #1424129] Mon, 15 September 2014 14:03 Go to next message
Sequoia Tree is currently offline Sequoia TreeFriend
Messages: 28
Registered: August 2014
Junior Member
My Eclipse Luna has E:\CppWpE

My individual project EKing : project name

It is in C:\CppWpE\EKing : project location

For two days I've been trying to use ${project_name} and ${project_loc}
when configuring external run programs.

Sometimes they work, sometimes they fail, stating the the variable is empty. Rolling Eyes

What empties these variables? Where can I set their value?

workplace_loc seems to be working but what of project_name & _loc??

PS where can I learn more on how to construct the full project folder name.

This syntax is beastly : ${workspace_loc:/EKing01}
Re: External Run progs - Syntax rules for Variables [message #1425783 is a reply to message #1424129] Wed, 17 September 2014 21:02 Go to previous messageGo to next message
Klaus km is currently offline Klaus kmFriend
Messages: 142
Registered: November 2011
Senior Member
Quote:
Sometimes they work, sometimes they fail, stating the the variable is empty.


The project must have "the focus" (click on the project or into the editor window of one of the projects file). Many variables are only valid when the project has the focus.

regards,
Klaus


Re: External Run progs - Syntax rules for Variables [message #1426826 is a reply to message #1425783] Fri, 19 September 2014 09:14 Go to previous message
Sequoia Tree is currently offline Sequoia TreeFriend
Messages: 28
Registered: August 2014
Junior Member
Thanks, that aspect didn't occur to me. I'll try it out
Previous Topic:CDT User Setting Entries [Shared]
Next Topic:Now able to Install c, c++ cdt in eclipse
Goto Forum:
  


Current Time: Sat Oct 05 03:39:19 GMT 2024

Powered by FUDForum. Page generated in 0.02779 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top