che icon indicating copy to clipboard operation
che copied to clipboard

Windows 10 - Eclipse che fails to create 'projects' folder

Open mjitch opened this issue 10 years ago • 12 comments

i do not see 'projects' folder being created in the default location specified in che.properties -

CHE_HOME====D:\eclipse-che-4.0.0-beta-13-1

On Windows, Che projects can only reside in %userprofile% due to limitations of Docker. On this computer, %userprofile% is C:\Users\manjit.s

I tried looking for it and i do not see it anywhere.

mjitch avatar Feb 10 '16 06:02 mjitch

Hi. This is a known issue due to user directories that have periods in them on Windows. We are working on a fix.

Do you have another user account that you can user temporarily?

TylerJewell avatar Feb 10 '16 06:02 TylerJewell

projects folder is the one that gets created in a container while on your Win host filesystem you should have workspaces directory with your workspaces and their projects. All configuration is stored at /tomcat/temp/local-storage - you should see a bunch of jsons there.

ghost avatar Feb 10 '16 07:02 ghost

I am running che as a standalone, not as a docker container. so, is there a work-around for this issues at the moment? I am unable to import my existing projects as of now.

mjitch avatar Feb 10 '16 09:02 mjitch

Is Che running successfully? I mean you can start it but you expect /projects folder somewhere?

Can you successfully start a workspace? Can you import a project at Workspace > Import Project?

ghost avatar Feb 10 '16 10:02 ghost

Yes, I am able to start/stop che and looking for /projects folder to be available as configured in che.properties. The workspace creation is also fine. My intention is to copy an existing project as mentioned feature in che to import project.

mjitch avatar Feb 10 '16 10:02 mjitch

/projects is created inside a container and we mount projects from a local file system into this dir. It is created when a container is starting.

After you have imported a project in Che, you can find it in /workspace/${ws-name} in CHE_HOME

ghost avatar Feb 10 '16 12:02 ghost

I am not able to find any reference of the workspace/project in my local drive. As per the import options mentioned in the doc, it still remains a mystery.

mjitch avatar Feb 10 '16 12:02 mjitch

It is D:\eclipse-che-4.0.0-beta-13-1\workspaces

ghost avatar Feb 10 '16 12:02 ghost

Nop, I do not see that workspace folder in that location.

mjitch avatar Feb 11 '16 07:02 mjitch

Sorry, that was Linux configuration.

Storage and user configuration The location where your workspaces (and their projects) are stored. This property is ignored on Windows due to limitations with VirtualBox On Windows, all workspaces stored in c:\%userprofile%\AppData\Local\Eclipse Che\ che.user.workspaces.storage=${che.home}/workspaces

You should be able to find your projects at C:\Users\manjit.s\AppData\Local\Eclipse Che\vfs

ghost avatar Feb 11 '16 13:02 ghost

Thanks eivantsov, finally i found it!

mjitch avatar Feb 11 '16 15:02 mjitch

Closing the issue. If you have any additional questions or issues with project mounting, feel free to reopen it.

ghost avatar Feb 12 '16 05:02 ghost