Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357995 - Run configuration browse directory operation does not start in project directory
Summary: Run configuration browse directory operation does not start in project directory
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT.sync (show other bugs)
Version: 5.0.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 6.0   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 17:22 EDT by John Eblen CLA
Modified: 2012-12-07 14:24 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Eblen CLA 2011-09-16 17:22:20 EDT
For synchronization projects, pressing browse during run configuration in the "Application" tab places the user in their home directory rather than in their project directory.
Comment 1 Greg Watson CLA 2011-10-13 17:03:28 EDT
I have modified the application tab so that it will attempt to use the location of the project as the starting directory when browsing for the executable. For sync projects, this will be the sync location of the active configuration. However, the connection used by the  resource manager specified in the launch configuration is independent of that used by the synchronized (or remote) project, so there is no guarantee that this directory even exists on the target system. In this case, it will default to the current working directory of the RM connection (usually the home directory of the user). 

The situation where the sync (or remote) project connection is different from the RM connection should probably be flagged as an error since it doesn't make much sense. Please open a separate bug if you think this would be useful.

Note that this fix is in HEAD only as it requires an API change.