Eclipse Che doesn't check IDE preferences when initializing a project via a zip file
See original GitHub issueDescribe the bug
While I was trying to create a workspace from a devfile that refers to a zip file for the project location, I observed that Eclipse Che does not respect the user IDE preference as specified in the “che-editor.yaml” file but instead defaults to “Che Theia” IDE.
Che version
next (development version)
Steps to reproduce
- Create a devfile as such:
schemaVersion: 2.1.0
metadata:
name: test
projects:
- name: test
zip:
location: 'http://192.168.1.101:2020/test.zip'
components: []
- Make sure the project in the zip file follows the following directory structure:
test.zip
| .che
| che-editor.yaml (Should contain appropriate IDE definition or an IDE plugin ID)
| file1
| file2
- Generate a workspace through a factory URL:
https://192.168.1.120.nip.io#<path to your devfile>
- Once the workspace is up and running, verify if the IDE being used is as per what was specified in the “che-editor.yaml” file.
Expected behavior
Eclipse Che should look for IDE definitions in the “che-editor.yaml” file no matter if the project is being cloned from git or being extracted from a zip file.
Relevant Docs:
https://www.eclipse.org/che/docs/stable/end-user-guide/selecting-an-ide/
Runtime
minikube
Screenshots
No response
Installation method
chectl/next
Environment
Windows
Eclipse Che Logs
No response
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Newcomers » [SOLVED]error while opening eclipse Luna
When I try to open Eclipse I have the following error. ... org.eclipse.wst.common.project.facet.ui org.eclipse.osgi [osgi.identity; ...
Read more >Launching Eclipse 2020-09R error Version 11 or greater is ...
I've been using the zip file and extracting the Eclipse folder to C:\Program Files folder. In a cmd window I run java -version...
Read more >Eclipse IDE for Java Developers - Installation failed with an error
1. Go to the eclipse installation file. · 2. Right click on it and go to properties. · 3. Remove the block that...
Read more >Newcomers » BIRT report designer not getting installed - Eclipse
I am very new to this tool doing R&D for my organization. Trying to get installed birt report designer, but not able to...
Read more >C / C++ IDE (CDT) » No paths in 'Hello World' example - Eclipse
I actually had better results downloading Windows and using ... This was a zip file larger than 2GB which had to be unzipped...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vatsal-uppal-1997 I think that @svor suggestion may solve your problem. That’s something that has been introduced last week. Anyway, in your comment the URL encoding is fine. I suspect that the Devfile you are pointing to is a version 1 Devfile that doesn’t work with VS Code:
@svor there are still a lot of version 1 devfiles. I have created a PR to removed them. What do you think?
It’s very good cleanup of the devfile registry!