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,

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   


-----Original Message-----
From: Christian Hohmann [mailto:c.hohmann@xxxxxxxxxxxxx] 
Sent: Friday, December 14, 2007 2:23 PM
To: Oberhuber, Martin
Subject: webservice-based filesystem for RSE

Hi Martin,

I try to implement an eclipse-plugin to access a webservice-based filesystem. For this I tried to implement the eclipse extension "org.eclipse.core.filesystem.filesystems". Well, I ran into problems there and so I took a closer look on RSE (I looked the part of caching the remote filestores in RSE). Ok, I'm not in the know right now, but it looks so that it will solve my probems. So I want to implement the filesystem for the RSE. I think the implementation could be similar in design like the one for ftp. Due to the fact that I get only a small overview on RSE, I hope, that you can give me a hint how to proceed.

I think I have to implement the
"org.eclipse.rse.services.files.IFileService" Interface in the "|org.eclipse.rse.services.files" |package. Which extension-points do I have to implement to get my file-system working in RSE?

I would be glad if you could help me with a hint,

Best regards

Christian

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

Christian Hohmann
SW - Engineer

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



-------------------------------------------------------------------
-------------------------------------------------------------------
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
-------------------------------------------------------------------
-------------------------------------------------------------------


Back to the top