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

Bug 370775

Summary: [JAXB] Browse for host list file using new RM starts from /
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: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Greg Watson CLA 2012-02-06 16:50:04 EST
When browsing for a host list file using the new JAXB RM for PE, the browse dialog starts in the root directory rather than the user's home directory, which is painful to say the least. It seems like the initial path is not being set correctly.
Comment 1 Greg Watson CLA 2012-02-10 16:29:38 EST
The problem is the order in which the RemoteServicesDelegate is created and the connection is opened in JAXBResourceManagerControl#doConnect(). When the RemoteServicesDelegate is created, the working directory is obtained from the remote connection, however if the remote connection is not open (e.g. if Eclipse has just been launched) then this will default to root.
Comment 2 Greg Watson CLA 2012-02-11 17:00:00 EST
Fixed in ptp_5_0 and master.