Bug 119582 - [launching] Working directory relative to launch file is impossible
Summary: [launching] Working directory relative to launch file is impossible
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: consistency
Depends on:
Blocks:
 
Reported: 2005-12-07 02:56 EST by Peter Kriens CLA
Modified: 2009-08-30 02:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Kriens CLA 2005-12-07 02:56:34 EST
When using a launch file it is necessary to set a working directory. There are lots of interesting variables but none is relative to the launch file. If a launch file is copied to another project or another directory, the reference to the old position remains in the launch file.

Relative path names are quite crucial to ease migration and reuse. Eclipse supports this with variables, so the ommission of the launch file relative variable was surprising.
Comment 1 Darin Wright CLA 2006-01-05 16:07:56 EST
This feature request has the same difficulty as bug 117748. That is, we have no way of resolving the location of a file without passing in a context (i.e. path to the file). The current variables that resolve to files require workspace relative paths. Of course, if you move/rename the referenced file, the variable argument becomes stale. 

The existing string substitution support does not allow for arbitrary contexts to be used when resolving variables - it relies only on the expression being resolved such that any client can resolve any string containing variables.
Comment 2 Darin Wright CLA 2006-01-10 11:23:07 EST
Not planned for 3.2
Comment 3 Denis Roy CLA 2009-08-30 02:19:27 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.