question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It's not possible to run a Task in Che-Code if it's not `che` type

See original GitHub issue

Describe the bug

If tasks.json file contains a task of non-che type (e.g. shell), it can’t be launched.

Che version

next (development version)

Steps to reproduce

  1. Start a workspace with the Che-Code editor.
  2. Run any non-che task defined in the tasks.json file.

Test tasks.json can be created with Terminal > Configure Tasks... > Create tasks.json file from template > maven.

Terminal panel is open, but the task is not run.

Expected behavior

A task should be run in a default (usually tools) container.

Runtime

OpenShift

Screenshots

image

Installation method

chectl/next

Environment

Linux

Release Notes Text

Tasks included in a tasks.json file of a type other than che were not loaded in a VS Code running in a Che workspace. This has been fixed in this release and tasks.json with tasks of any type are supported and loaded in a Che workspace.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
l0rdcommented, Aug 17, 2022
0reactions
azatsarynnyycommented, Oct 6, 2022

@l0rd yes, it’s done and we can close it. We restored the VS Code native terminal in Che-Code (https://github.com/che-incubator/che-code/pull/124). So, all task types supported by vanilla VS Code can now be run in Che-Code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot run a che command after workspace restart for some ...
If I edit tasks.json and correct the container name, it works fine. The problem is that now we are persisting che commands in...
Read more >
WOW Answers - Words of Wonders Cheats
Find Words of Wonders answers for all levels. Fear not when you're experiencing a temporary brain freeze while playing WOW, we are here...
Read more >
This clever AI hid data from its creators to cheat ... - TechCrunch
This clever AI hid data from its creators to cheat at its appointed task | TechCrunch.
Read more >
Introduction to Eclipse Che :: Eclipse Che Documentation
Different IDEs for different use cases. In Eclipse Che, the IDE is completely decoupled, so that it is possible to plug a different...
Read more >
Every cheat code in GTA 5 and how to activate them
grand theft auto v. If you're looking for a new ride in GTA 5, consider cheats. ... You'll enter these using the D-pad,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found