Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] Using SSH subsystem within custom RSE system types

Hi Cyrus,
 
you have two options for achieving what you want. Either,
(a) Create a new system type and pull in the subsystem config:
 

<extension point="org.eclipse.rse.core.systemTypes">
    <systemType
id="org.eclipse.rse.tests.testSystemType"
                 
name="Tests Only"
                 subsystemConfigurationIds="ssh.files" />
</extension>

or, (b) Create a new "MySShSubsystemConfiguration" and register
it against the system types you need:

<extension point="org.eclipse.rse.core.subsystemConfigurations">
    <configuration
category="files"
             class=
"org.eclipse.rse.subsystems.files.ssh.SftpFileSubSystemConfiguration"
             id=
"org.foobar.ssh.files"
             systemTypeIds="org.eclipse.rse.systemtype.ssh" />
</extension>

I have limited the examples above to the most needed properties only,
you'll need to add fields such as a name, label, icon etc -- but you see
the important point, re-use the SftpFielSubSystemConfiguration class
with a new plugin.xml extension in (b) or pull in the existing ID with
your new system type in (a).
 
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 


From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of cyrus trainor
Sent: Montag, 05. Mai 2008 16:56
To: dsdp-tm-dev@xxxxxxxxxxx
Subject: [dsdp-tm-dev] Using SSH subsystem within custom RSE system types

Hi all,

I've been using the RSE and trying in vain to incorporate the SSH subsystem into a custom system type. I've looked for ways of extending an existing type, such as 'SSH Only' or 'Unix' systems, and also ways of adding the SSH subsystem used in those types to a new one. Will someone please explain what I may have overlooked, or why these methods are incorrect? I've looked through the source that comes with the RSE-SDK and cannot find the source for the system types that come with the plugin. Also, I'd love to contribute if this is just something that needs work, but I need someone with a more comprehensive understanding to point me in the right direction.

Thank you,

Cyrus Trainor




Back to the top