eclipse-archived / codewind

The official repository of the Eclipse Codewind project
https://codewind.dev
Eclipse Public License 2.0
114 stars 44 forks source link

Remote: Appsody java-microprofile project missing .appsody-config.yaml error #870

Closed makandre closed 5 years ago

makandre commented 5 years ago

Codewind version: OS:

Che version: IDE extension version: IDE version: Kubernetes cluster:

Description:

Create an appsody java-microprofile project, I see this in Turbine.log:

[25/10/19 17:42:59 Turbine] [ERROR] [File Name: /file-watcher/server/dist/utils/logger.js | Function Name: logProjectError | Line Number: 202] e2676f10-f74e-11e9-b7ce-ddbd5f49a2b9: ShellExtensionProject.setLanguage : 70 | grep: .appsody-config.yaml: No such file or directory

Notes:

Possibly it's a timing issue of the project files being uploaded, the .appsody-config.yaml file may not be copied to the right location when the above runs.

Steps to reproduce:

Workaround:

makandre commented 5 years ago

Do we need to await cwUtils.copyProject(...) here https://github.com/eclipse/codewind/blob/master/src/pfe/portal/routes/projects/remoteBind.route.js#L364 (and also line 246)?

@tobespc