Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums
-
RSE set host port number programmatically
https://www.eclipse.org/forums/index.php/mv/msg/530458/1115705/#msg_1115705
...
ISystemRegistry systemRegistry = RSECorePlugin.getTheSystemRegistry();
ISystemProfile profile =
systemRegistry.getSystemProfileManager().getDefaultPrivateSystemProfile();
String profileName = profile.getName();
String hostAlias = "myhost";
String hostname = "myhost";
String userId = "myid";
IRSESystemType systemType =
RSECorePlugin.getTheCoreRegistry().getSystemTypeById(IRSESystemType.SYSTEMTYPE_SSH_ONLY_ID);
IHost host = systemRegistry.createHost(profileName, systemType, hostAlias,
hostname, null, userId, IRSEUserIdConstants.USERID_LOCATION_HOST, null);
...
Thanks in advance
]]>
Mazaeva Darya
2013-09-24T13:03:26-00:00