Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] Re: webservice-based filesystem for RSE

Hello Christian,

I'm sorry -- in the haste I gave you some wrong advice: you need to
* Write an ISubSystemConfiguration class that derives from FileServiceSubsystemConfiguration
Then register a subsystemConfigurations extension point with your config,
and registered against your systemType.

The actual ISubSystem will be created for you automatically, you don't need to
override. You should be able to see all the rest from the TCF example.

Sorry for creating confusion!
Martin


Christian Hohmann schrieb:
Hello Martin,

thanks a lot for your helpfull response. I'll try the TCF version. So far, I created the classes you suggested. I could only find the extension "org.eclipse.rse.core.systemTypes", but it looks to me as it is the right one.

 * Write an ISubSystem class that derives from FileServiceSubsystem

I saw that FileServiceSubsystem is a final Class - so I followed the FileserviceSubsystem class and created the following: public class MySubSystem extends RemoteFileSubSystem implements IFileServiceSubSystem{...}

Which extensionPoint do I have to implement to see my system in the"New Connection" screen?
Contributing under EPL is no problem, but first I have to get it running.

Thanks again
Christian

-------------------------------------------------------------------

Christian Hohmann
SW - Engineer

Forschungszentrum Jülich GmbH
Jülich Supercomputing Centre (JSC)
Distributed Systems and Grid Computing Division
-------------------------------------------------------------------


Oberhuber, Martin schrieb:
Hello Christian,

you can just base your work on the FTP file service,
or on the TCF contribution from
  https://bugs.eclipse.org/bugs/show_bug.cgi?id=210751

The TCF one is simpler in structure since everything is
in one plugin (com.windriver.tcf.rse.ui).

Here's what you need to do:
  * Write a plugin.xml extension for org.eclipse.rse.core.subsystems
    for your new file service
  * Write an ISubSystem class that derives from FileServiceSubsystem
* Write an IConnectorService class that derives from AbstractConnectorService or StadardConnectorService (if you have
    username/password authentication)
  * Write your subclass of ConnectorServiceManager
  * Write an IFileService class that derives from AbstractFileService

Along with your subsystem and service, you'll also need implementations
of IHostFile (AbstractHostFile), IRemoteFile (AbstractRemoteFile),
and IHostFileToRemoteFileAdapter. Your new subsystem class will bring all the other classes together and tell RSE about them.
For more information, the EclipseCon07 TM Tutorial slides are
perhaps your best resource:
http://www.eclipsecon.org/2007/index.php?page=sub/&id=3651

If you're able to develop your plugin under the EPL, it would be interesting to see it contributed to the community
as an example on how to write a custom filesystem with RSE.

Best,
Martin Oberhuber


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm



Back to the top