Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Symbolic links in VFS

Hi,

Could you please explain a little bit more the problem you try to solve with it.
Like an example of the project structure/usecase where this functionality is necessary.
Just try to estimate how important this functionality is.

Thanks,

Gennady Azarenkov - CTO @ codenvy.com


On Thu, Jun 25, 2015 at 4:05 PM, Sharafy, Tareq <tareq.sharafy@xxxxxxx> wrote:

Hi,

We need symbolic link functionality in Che's VFS system, so that some sources can be transparently used from other places inside the workspace.

One use case for this is that we want to be able to view nested projects as root projects in Che, so that the standard project-level operations (build, run, ...). Some extensions might need to perform project-local operation on files and resources found in other projects. Such scenarios will benefit a lot if the VFS allows creating 'symbolic links' from one VirtualFile to another.

The actual operation is simple and can be delegated to the underlying java file system so that it becomes transparent to the persisted VFS. The in-memory implementation for this is simple as well and can simply delegate the symbolic operations ( getContent(), isFile(), getChildren(), ... ) to the linked files. In terms of safety we can limit such links to inside the workspace folder and prevent cycles with ease, plus any other requirement.

Do you agree on such functionality? Please provide and objection or suggestions.

We can prepare a POC pull request that demonstrates the proposal.

thank you
Tareq Sharafy
Cloud Development Experience | SAP Labs Israel | 15 Hatidhar st, Raanana 43665, Israel


_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev



Back to the top