Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332565 - need to be able to save service configurations
Summary: need to be able to save service configurations
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Service Model (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 14:20 EST by Jay Alameda CLA
Modified: 2014-06-10 11:52 EDT (History)
2 users (show)

See Also:


Attachments
proposed patch of remote connection wizard (1.14 KB, patch)
2012-03-22 14:03 EDT, Chris Navarro CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.