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.

Can not invoke Task if source is che

See original GitHub issue

If I have a task defined on tasks.json with source defined as che, it can not be started from Command palette. I can see a message printed on JS Console as ERROR Can't get task launch configuration for label: echo me

If I remove the source property from the following example task I can start the task without issues.

 {
            "label": "echo me",
            "source": "che",
            "type": "process",
            "command": "echo test",
            "target": {
                "machineName": "theia-idemh5"
            }
   }

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
RomanNikitenkocommented, Aug 29, 2019

Since the PR https://github.com/eclipse/che-theia/pull/295 was merged we consider che tasks as configured, not as detected. User doesn’t need to use Configure task action for che tasks: we convert che commands from devfile to theia tasks format and copy them to tasks.json file.

So I’m closing the issue.

0reactions
azatsarynnyycommented, Aug 29, 2019

@RomanNikitenko could you please check if it’s already fixed and whether we can close that issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run my task before a plugin's task? - gradle
I need a task I've written to run sometime after clean but sometime before war . Preferably without modifying the plugin.
Read more >
Invoking Builds: Deployment and Project Task Patterns
We've been using Fabric to manage deployments for a while and lately Invoke for adding similar functionality where SSH based deployment isn't required....
Read more >
Command-Line Interface
When executed with --continue , Gradle executes every task in the build if all of the dependencies for that task completed without failure....
Read more >
Common Resource Functionality - Chef Documentation
All resources (including custom resources) share a set of common actions, properties, conditional executions, notifications, and relative ...
Read more >
Custom Tasks - Gradle Recipes for Android [Book]
The dependency on assembleDebug means all the debug APKs will be generated before the copy task runs. You can use assemble instead if...
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