Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369016 - PE jobs are launched with incorrect working directory
Summary: PE jobs are launched with incorrect working directory
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM.PE (show other bugs)
Version: 5.0.4   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 5.0.5   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 19:34 EST by Greg Watson CLA
Modified: 2012-11-01 21:42 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 Greg Watson CLA 2012-01-18 19:34:40 EST
Jobs launched using the PE RM will by default use an incorrect working directory (possibly '/'). In order for some tools to work properly (if they need to write into the working directory for example), the wd must be manually set using the "Arguments" tab on the launch configuration.
Comment 1 Greg Watson CLA 2012-01-18 19:40:31 EST
The PE proxy assumes that the PTP_JOB_WORKING_DIR_ATTR has a valid value, however this is not always the case. This attribute only has a value if the "Use default working directory" option is unselected, otherwise it is not set. The proxy should first test this attribute and use it if it is set. If not set, then the proxy should use the value of the PTP_JOB_EXEC_PATH_ATTR as the working directory. This attribute is always guaranteed to have a value, which is usually the path of the directory containing the executable.
Comment 2 Greg Watson CLA 2012-11-01 21:42:06 EDT
Fixed in 6.0