Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 60904 Details for
Bug 177288
Empty values on new SSH2 Preference Page when migrating existing workspace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
a patch to fix this problem.
jsch.core.patch (text/plain), 1.44 KB, created by
Atsuhiko Yamanaka
on 2007-03-15 03:53:10 EDT
(
hide
)
Description:
a patch to fix this problem.
Filename:
MIME Type:
Creator:
Atsuhiko Yamanaka
Created:
2007-03-15 03:53:10 EDT
Size:
1.44 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jsch.core >Index: src/org/eclipse/jsch/internal/core/PreferenceInitializer.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jsch.core/src/org/eclipse/jsch/internal/core/PreferenceInitializer.java,v >retrieving revision 1.1 >diff -u -r1.1 PreferenceInitializer.java >--- src/org/eclipse/jsch/internal/core/PreferenceInitializer.java 19 Feb 2007 16:16:07 -0000 1.1 >+++ src/org/eclipse/jsch/internal/core/PreferenceInitializer.java 15 Mar 2007 07:50:16 -0000 >@@ -49,15 +49,20 @@ > preferences.setDefault(IConstants.KEY_PRIVATEKEY, IConstants.PRIVATE_KEYS_DEFAULT); > > if(!preferences.contains(IConstants.PREF_FIRST_STARTUP)){ >- >+ > IEclipsePreferences[] oldPreferences=getOldPreferences(); > IPreferencesService ps=Platform.getPreferencesService(); >+ > if(ps.get(IConstants.KEY_OLD_SSH2HOME, null, oldPreferences)!=null){ > preferences.setValue(IConstants.KEY_SSH2HOME, ps.get( > IConstants.KEY_OLD_SSH2HOME, null, oldPreferences)); >+ } >+ >+ if(ps.get(IConstants.KEY_OLD_PRIVATEKEY, null, oldPreferences)!=null){ > preferences.setValue(IConstants.KEY_PRIVATEKEY, ps.get( > IConstants.KEY_OLD_PRIVATEKEY, null, oldPreferences)); > } >+ > preferences.setValue(IConstants.PREF_FIRST_STARTUP, true); > JSchCorePlugin.getPlugin().savePluginPreferences(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 177288
: 60904