Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369016

Summary: PE jobs are launched with incorrect working directory
Product: [Tools] PTP Reporter: Greg Watson <g.watson>
Component: RM.PEAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0.4   
Target Milestone: 5.0.5   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

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