Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Build variable for directory of "selected resource"?
Build variable for directory of "selected resource"? [message #336972] Fri, 17 July 2009 03:50
Toralf Lund is currently offline Toralf Lund
Messages: 70
Registered: July 2009
Member
Is there a build variable containing the directory component of the
current file, i.e. the "selected resource" in Eclipse terminology? What
I'm looking for is $selected_resource_loc with the actual filename
component stripped off, or with $selected_resource_name "subtracted", if
you like - but I can't seem to find anything. Or actually, I believe I did
find it in an older release, where it was called $container_loc or
something, but this appears to be gone in Galileo.

So, is there such a variable, and what is it called? Alternatively, is
there some sort of special expansion syntax that will give me what I want,
based on what I already have? I can't find proper documentation on
variable expansion either...

I want this in conjunction with build configurations in CDT, by the way,
but as I understand it, the variables aren't CDT specific.

- Toralf
Previous Topic:Display a progress dialog on workbench shutdown during disposing of services
Next Topic:How To Create A Customized Start Up Page For My Plugin
Goto Forum:
  


Current Time: Thu Jul 24 00:41:09 EDT 2014

Powered by FUDForum. Page generated in 0.01842 seconds