Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Talk:EFS"

(Zip and Memory file systems CVS Location)
(Zip and Memory file systems CVS Location)
 
(11 intermediate revisions by 3 users not shown)
Line 8: Line 8:
  
 
But I am looking to get IResource/IFile so that I can use in some of my Editors and I don’t have to create temp local files. How do I get IFile when I have an instance of FileStore?
 
But I am looking to get IResource/IFile so that I can use in some of my Editors and I don’t have to create temp local files. How do I get IFile when I have an instance of FileStore?
 +
 +
:I have added a section called 'The relationship between EFS and IResource' to the wiki page, does that answer your questions? --[[User:John arthorne.ca.ibm.com|John arthorne.ca.ibm.com]] 14:01, 9 August 2006 (EDT)
 +
 +
::Thanks John thats very helpful.
  
 
== Zip and Memory file systems CVS Location ==
 
== Zip and Memory file systems CVS Location ==
  
 
The location for the zip example seems to be wrong. Couldn't find the repository--[[User:Tom.seidel.spiritlink.de|Tom.seidel.spiritlink.de]] 06:32, 8 August 2006 (EDT)
 
The location for the zip example seems to be wrong. Couldn't find the repository--[[User:Tom.seidel.spiritlink.de|Tom.seidel.spiritlink.de]] 06:32, 8 August 2006 (EDT)
 +
 +
:It looks correct to me.  Here is what the repository connection string looks like: ":pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse" --[[User:John arthorne.ca.ibm.com|John arthorne.ca.ibm.com]] 14:01, 9 August 2006 (EDT)
 +
 +
::I think it is "/cvsroot/org.eclipse" instead of "/cvsroot/eclipse" for zip and memory file systems examples.
 +
 +
:John -- the [[EFS|http://wiki.eclipse.org/index.php/EFS]] page shows the zip examples as "CVS: dev.eclipse.org:/cvsroot/org.eclipse/www/eclipse/platform-ui/plugins/org.eclipse.ui.examples.filesystem"
 +
 +
:NB I've found the tools. The URL is http://dev.eclipse.org/viewcvs/index.cgi/www/eclipse/platform-ui/plugins/org.eclipse.ui.examples.filesystem/?cvsroot=Eclipse_Website
 +
(Alex)
 +
 +
== Search and FileStore files ==
 +
 +
It looks that default search (org.eclipse.search) feature is not working for FileStore based files.
 +
It does get all the linked files and calls openInputStream method on them to get contents but TextSearchVisitor.processFile does not search on the returned contents, may be it treats them as binary. Any idea how can it be solved?

Latest revision as of 10:18, 23 November 2006

After going through examples and reading various posts, article. I got a basic understanding but still a long way to go.

It looks that for minimum implementation for my custom file system: I have to extend FileStore & FileSystem class. Provide extension point org.eclipse.core.filesystem.filesystems to register my scheme.

But I can't find a way to use my FieStore instead of IFile. Though I can access/instantiate it by using method EFS.getStore.

But I am looking to get IResource/IFile so that I can use in some of my Editors and I don’t have to create temp local files. How do I get IFile when I have an instance of FileStore?

I have added a section called 'The relationship between EFS and IResource' to the wiki page, does that answer your questions? --John arthorne.ca.ibm.com 14:01, 9 August 2006 (EDT)
Thanks John thats very helpful.

Zip and Memory file systems CVS Location

The location for the zip example seems to be wrong. Couldn't find the repository--Tom.seidel.spiritlink.de 06:32, 8 August 2006 (EDT)

It looks correct to me. Here is what the repository connection string looks like: ":pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse" --John arthorne.ca.ibm.com 14:01, 9 August 2006 (EDT)
I think it is "/cvsroot/org.eclipse" instead of "/cvsroot/eclipse" for zip and memory file systems examples.
John -- the http://wiki.eclipse.org/index.php/EFS page shows the zip examples as "CVS: dev.eclipse.org:/cvsroot/org.eclipse/www/eclipse/platform-ui/plugins/org.eclipse.ui.examples.filesystem"
NB I've found the tools. The URL is http://dev.eclipse.org/viewcvs/index.cgi/www/eclipse/platform-ui/plugins/org.eclipse.ui.examples.filesystem/?cvsroot=Eclipse_Website

(Alex)

Search and FileStore files

It looks that default search (org.eclipse.search) feature is not working for FileStore based files. It does get all the linked files and calls openInputStream method on them to get contents but TextSearchVisitor.processFile does not search on the returned contents, may be it treats them as binary. Any idea how can it be solved?

Back to the top