Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » SystemStartHere.getSystemRegistry() returns null
SystemStartHere.getSystemRegistry() returns null [message #569331] Fri, 27 July 2007 11:54
Eclipse UserFriend
Originally posted by: nchan.cisco.com

Hi,

Iam trying to use Eclipse RSE 2.0 API to connect to an SSH server.

The first step of getting the ISystemRegistry itself fails :(

What am I doing wrong ?

My Eclipse version is 3.3.0.

My project is an eclipse plugin project and I have added the RSE plugins
to my plugin dependancies.

Iam able to get the RSE System details from RSECorePlugin.

RSECorePlugin rsep = RSECorePlugin.getDefault();
IRSECoreRegistry registry = rsep.getCoreRegistry();
IRSESystemType[] sysTypes = registry.getSystemTypes();

for (IRSESystemType sysType : sysTypes) {

System.out.println("System Name : " + sysType.getName());
System.out.println("System Desc : " + sysType.getDescription());
System.out.println("System ID : " + sysType.getId());
}


output :

RSECORE PLUGIN:org.eclipse.rse.core
registry.getSystemType()class org.eclipse.rse.internal.core.RSECoreRegistry
System Name : SSH Only
System Desc : Connection for SSH access to remote systems
System ID : org.eclipse.rse.systemtype.ssh
System Name : FTP Only
System Desc : Connection for FTP access to remote systems
System ID : org.eclipse.rse.systemtype.ftp
System Name : Windows
System Desc : Any version of Microsoft Windows
System ID : org.eclipse.rse.systemtype.windows
System Name : Linux
System Desc : Any distribution of Linux
System ID : org.eclipse.rse.systemtype.linux
System Name : Unix
System Desc : Any distribution of Unix
System ID : org.eclipse.rse.systemtype.unix
System Name : Local
System Desc : Local file system on this computer
System ID : org.eclipse.rse.systemtype.local

.....
.....


What am I missing ?

Any help in this regard is much appreciated.

Thanks,
Chandran Narasimhan.l
Previous Topic:SSH on another port
Next Topic:TM Monthly Phone Call 1-Aug -- Meeting Notes
Goto Forum:
  


Current Time: Thu Apr 25 07:59:33 GMT 2024

Powered by FUDForum. Page generated in 0.03254 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top