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

Bug 332565

Summary: need to be able to save service configurations
Product: [Tools] PTP Reporter: Jay Alameda <jalameda>
Component: Service ModelAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: g.watson, jalameda
Version: unspecified   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed patch of remote connection wizard g.watson: iplog+

Description Jay Alameda CLA 2010-12-14 14:20:19 EST
Build Identifier: 20100917-0705

At the moment, the only way to save configuration information (remote platform, username, password, etc) is to cleanly close Eclipse - which causes problems if Eclipse does not close cleanly (ie, crashes) -
IT would be good if we could add the ability to save this configuration information manually - 

Reproducible: Always

Steps to Reproduce:
1.set up remote connection
2.crash eclipse
3.observe that remote connection information previously set up is ogne
Comment 1 Chris Navarro CLA 2012-03-22 14:03:45 EDT
Created attachment 213072 [details]
proposed patch of remote connection wizard

This proposed patch calls the method in TargetEnvironmentManager responsible for persisting remote connection information to disk when a new connection is created. The write is called inside the performFinish method of EnvironmentWizard. Otherwise, this information only gets written when eclipse exits cleanly. The only drawback is that Eclipse's Secure Storage might be displayed because the write method accesses ISecurePreferences.
Comment 2 Greg Watson CLA 2014-06-10 11:52:17 EDT
Service configurations are no longer used as we have transitioned to the new remote services framework. Remote connection configuration information is now persisted to preferences whenever an IRemoteConnectionWorkingCopy is saved, so unless Eclipse crashes while creating the connection, it should be ok now.

I'm closing this as fixed, but feel free to reopen if you have any concerns.