Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUsing SSH service in other subsystems
https://www.eclipse.org/forums/index.php/mv/msg/7410/22649/#msg_22649
Originally posted by: Cyrus.trainor.gmail.com
Hello,
I've been trying to implement a new subsystem that uses the ssh service.
However, the ssh service components are internal and their use is
restricted. I've considered modifying the source to add extension points
to the ssh plugin but I must be missing something conceptually. Can
someone please explain why this would be the wrong way to do this?
Is there a correct way to add a new subsystem that uses the existing ssh
service?
Thanks,
Cyrus]]>2008-04-29T21:59:40-00:00Re: Using SSH service in other subsystems
https://www.eclipse.org/forums/index.php/mv/msg/7410/574552/#msg_574552
you have two options for achieving what you want. Either,
(a) Create a new system type and pull in the subsystem config:
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
Cyrus wrote:
> Hello,
>
> I've been trying to implement a new subsystem that uses the ssh service.
> However, the ssh service components are internal and their use is
> restricted. I've considered modifying the source to add extension points
> to the ssh plugin but I must be missing something conceptually. Can
> someone please explain why this would be the wrong way to do this?
> Is there a correct way to add a new subsystem that uses the existing ssh
> service?
>
> Thanks,
>
> Cyrus
>]]>Martin Oberhuber2008-05-05T15:51:11-00:00Re: Using SSH service in other subsystems
https://www.eclipse.org/forums/index.php/mv/msg/7410/22693/#msg_22693
you have two options for achieving what you want. Either,
(a) Create a new system type and pull in the subsystem config:
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
Cyrus wrote:
> Hello,
>
> I've been trying to implement a new subsystem that uses the ssh service.
> However, the ssh service components are internal and their use is
> restricted. I've considered modifying the source to add extension points
> to the ssh plugin but I must be missing something conceptually. Can
> someone please explain why this would be the wrong way to do this?
> Is there a correct way to add a new subsystem that uses the existing ssh
> service?
>
> Thanks,
>
> Cyrus
>]]>Martin Oberhuber2008-05-05T15:51:11-00:00