Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-core-dev] [Fwd: EFS Stumbling Block]

Hi Platform Core Developers,

Reid is a Google SoC student and working on a WEBDAV EFS provider. He
has made good progress so far but came across an issue while
implementing it. I couldn't answer this myself thus I'm posting it to
the list.

--Gunnar



-------- Original Message --------
Subject: EFS Stumbling Block
Date: Thu, 05 Jul 2007 22:55:05 -0600
From: reid holmes <rtholmes@xxxxxxxxx>
To: Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>

Hi Gunnar,

I'm having a bit of a problem. I have no problem reading files and
directories through my EFS implementation, and I can modify files no
problem. I am having issues with *creating* files and directories. When
you create a file or directory using the Eclipse UI you end up going
through FileSystemResourceManager.getStore(IResource). The IResource is
the name of the file or directory you want to create. After this point
however, the IResource gets changed into an IPath
(FileStoreRoot.createStore(IPath)).

This is a means that within EFS I cannot determine if the resource being
created is a file or a directory from its IPath. This is a problem
because files and directories are created differently in WebDAV and
without being able to tell which is being created I don't know what to do.

What would you advise in this situation?

Thanks,

--reid holmes



-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Back to the top