@theia/task 1.23.0-next.5 → 1.23.0-next.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/index.d.ts +0 -15
- package/lib/browser/index.d.ts.map +1 -1
- package/lib/browser/index.js +16 -16
- package/lib/browser/index.js.map +1 -1
- package/lib/browser/process/process-task-contribution.d.ts +0 -15
- package/lib/browser/process/process-task-contribution.d.ts.map +1 -1
- package/lib/browser/process/process-task-contribution.js +17 -17
- package/lib/browser/process/process-task-contribution.js.map +1 -1
- package/lib/browser/process/process-task-frontend-module.d.ts +0 -15
- package/lib/browser/process/process-task-frontend-module.d.ts.map +1 -1
- package/lib/browser/process/process-task-frontend-module.js +15 -15
- package/lib/browser/process/process-task-frontend-module.js.map +1 -1
- package/lib/browser/process/process-task-resolver.d.ts +0 -15
- package/lib/browser/process/process-task-resolver.d.ts.map +1 -1
- package/lib/browser/process/process-task-resolver.js +19 -19
- package/lib/browser/process/process-task-resolver.js.map +1 -1
- package/lib/browser/provided-task-configurations.d.ts +0 -15
- package/lib/browser/provided-task-configurations.d.ts.map +1 -1
- package/lib/browser/provided-task-configurations.js +18 -18
- package/lib/browser/provided-task-configurations.js.map +1 -1
- package/lib/browser/provided-task-configurations.spec.d.ts +0 -15
- package/lib/browser/provided-task-configurations.spec.d.ts.map +1 -1
- package/lib/browser/provided-task-configurations.spec.js +15 -15
- package/lib/browser/provided-task-configurations.spec.js.map +1 -1
- package/lib/browser/quick-open-task.d.ts +0 -23
- package/lib/browser/quick-open-task.d.ts.map +1 -1
- package/lib/browser/quick-open-task.js +56 -64
- package/lib/browser/quick-open-task.js.map +1 -1
- package/lib/browser/task-configuration-manager.d.ts +0 -15
- package/lib/browser/task-configuration-manager.d.ts.map +1 -1
- package/lib/browser/task-configuration-manager.js +32 -32
- package/lib/browser/task-configuration-manager.js.map +1 -1
- package/lib/browser/task-configuration-model.d.ts +0 -15
- package/lib/browser/task-configuration-model.d.ts.map +1 -1
- package/lib/browser/task-configuration-model.js +15 -15
- package/lib/browser/task-configuration-model.js.map +1 -1
- package/lib/browser/task-configurations.d.ts +0 -15
- package/lib/browser/task-configurations.d.ts.map +1 -1
- package/lib/browser/task-configurations.js +23 -23
- package/lib/browser/task-configurations.js.map +1 -1
- package/lib/browser/task-contribution.d.ts +0 -15
- package/lib/browser/task-contribution.d.ts.map +1 -1
- package/lib/browser/task-contribution.js +18 -18
- package/lib/browser/task-contribution.js.map +1 -1
- package/lib/browser/task-definition-registry.d.ts +0 -15
- package/lib/browser/task-definition-registry.d.ts.map +1 -1
- package/lib/browser/task-definition-registry.js +16 -16
- package/lib/browser/task-definition-registry.js.map +1 -1
- package/lib/browser/task-definition-registry.spec.d.ts +0 -15
- package/lib/browser/task-definition-registry.spec.d.ts.map +1 -1
- package/lib/browser/task-definition-registry.spec.js +28 -28
- package/lib/browser/task-definition-registry.spec.js.map +1 -1
- package/lib/browser/task-frontend-contribution.d.ts +0 -15
- package/lib/browser/task-frontend-contribution.d.ts.map +1 -1
- package/lib/browser/task-frontend-contribution.js +36 -36
- package/lib/browser/task-frontend-contribution.js.map +1 -1
- package/lib/browser/task-frontend-module.d.ts +0 -15
- package/lib/browser/task-frontend-module.d.ts.map +1 -1
- package/lib/browser/task-frontend-module.js +19 -19
- package/lib/browser/task-frontend-module.js.map +1 -1
- package/lib/browser/task-name-resolver.d.ts +0 -15
- package/lib/browser/task-name-resolver.d.ts.map +1 -1
- package/lib/browser/task-name-resolver.js +18 -18
- package/lib/browser/task-name-resolver.js.map +1 -1
- package/lib/browser/task-node.d.ts +0 -15
- package/lib/browser/task-node.d.ts.map +1 -1
- package/lib/browser/task-preferences.d.ts +0 -15
- package/lib/browser/task-preferences.d.ts.map +1 -1
- package/lib/browser/task-preferences.js +15 -15
- package/lib/browser/task-preferences.js.map +1 -1
- package/lib/browser/task-problem-matcher-registry.d.ts +0 -15
- package/lib/browser/task-problem-matcher-registry.d.ts.map +1 -1
- package/lib/browser/task-problem-matcher-registry.js +18 -18
- package/lib/browser/task-problem-matcher-registry.js.map +1 -1
- package/lib/browser/task-problem-pattern-registry.d.ts +0 -15
- package/lib/browser/task-problem-pattern-registry.d.ts.map +1 -1
- package/lib/browser/task-problem-pattern-registry.js +17 -17
- package/lib/browser/task-problem-pattern-registry.js.map +1 -1
- package/lib/browser/task-schema-updater.d.ts +1 -16
- package/lib/browser/task-schema-updater.d.ts.map +1 -1
- package/lib/browser/task-schema-updater.js +23 -23
- package/lib/browser/task-schema-updater.js.map +1 -1
- package/lib/browser/task-service.d.ts +0 -15
- package/lib/browser/task-service.d.ts.map +1 -1
- package/lib/browser/task-service.js +47 -47
- package/lib/browser/task-service.js.map +1 -1
- package/lib/browser/task-source-resolver.d.ts +0 -15
- package/lib/browser/task-source-resolver.d.ts.map +1 -1
- package/lib/browser/task-source-resolver.js +17 -17
- package/lib/browser/task-source-resolver.js.map +1 -1
- package/lib/browser/task-templates.d.ts +0 -15
- package/lib/browser/task-templates.d.ts.map +1 -1
- package/lib/browser/task-templates.js +16 -16
- package/lib/browser/task-templates.js.map +1 -1
- package/lib/browser/task-terminal-widget-manager.d.ts +0 -15
- package/lib/browser/task-terminal-widget-manager.d.ts.map +1 -1
- package/lib/browser/task-terminal-widget-manager.js +23 -23
- package/lib/browser/task-terminal-widget-manager.js.map +1 -1
- package/lib/browser/tasks-monaco-contribution.d.ts +0 -15
- package/lib/browser/tasks-monaco-contribution.d.ts.map +1 -1
- package/lib/browser/tasks-monaco-contribution.js +15 -15
- package/lib/browser/tasks-monaco-contribution.js.map +1 -1
- package/lib/common/index.d.ts +0 -15
- package/lib/common/index.d.ts.map +1 -1
- package/lib/common/index.js +16 -16
- package/lib/common/index.js.map +1 -1
- package/lib/common/problem-matcher-protocol.d.ts +0 -15
- package/lib/common/problem-matcher-protocol.d.ts.map +1 -1
- package/lib/common/problem-matcher-protocol.js +15 -15
- package/lib/common/problem-matcher-protocol.js.map +1 -1
- package/lib/common/process/task-protocol.d.ts +0 -15
- package/lib/common/process/task-protocol.d.ts.map +1 -1
- package/lib/common/process/task-protocol.js +15 -15
- package/lib/common/process/task-protocol.js.map +1 -1
- package/lib/common/task-common-module.d.ts +0 -15
- package/lib/common/task-common-module.d.ts.map +1 -1
- package/lib/common/task-common-module.js +15 -15
- package/lib/common/task-common-module.js.map +1 -1
- package/lib/common/task-protocol.d.ts +0 -15
- package/lib/common/task-protocol.d.ts.map +1 -1
- package/lib/common/task-protocol.js +15 -15
- package/lib/common/task-protocol.js.map +1 -1
- package/lib/common/task-watcher.d.ts +0 -15
- package/lib/common/task-watcher.d.ts.map +1 -1
- package/lib/common/task-watcher.js +16 -16
- package/lib/common/task-watcher.js.map +1 -1
- package/lib/node/custom/custom-task-runner-backend-module.d.ts +0 -15
- package/lib/node/custom/custom-task-runner-backend-module.d.ts.map +1 -1
- package/lib/node/custom/custom-task-runner-backend-module.js +15 -15
- package/lib/node/custom/custom-task-runner-backend-module.js.map +1 -1
- package/lib/node/custom/custom-task-runner-contribution.d.ts +0 -15
- package/lib/node/custom/custom-task-runner-contribution.d.ts.map +1 -1
- package/lib/node/custom/custom-task-runner-contribution.js +17 -17
- package/lib/node/custom/custom-task-runner-contribution.js.map +1 -1
- package/lib/node/custom/custom-task-runner.d.ts +0 -15
- package/lib/node/custom/custom-task-runner.d.ts.map +1 -1
- package/lib/node/custom/custom-task-runner.js +20 -20
- package/lib/node/custom/custom-task-runner.js.map +1 -1
- package/lib/node/custom/custom-task.d.ts +0 -17
- package/lib/node/custom/custom-task.d.ts.map +1 -1
- package/lib/node/custom/custom-task.js +20 -21
- package/lib/node/custom/custom-task.js.map +1 -1
- package/lib/node/index.d.ts +0 -15
- package/lib/node/index.d.ts.map +1 -1
- package/lib/node/index.js +16 -16
- package/lib/node/index.js.map +1 -1
- package/lib/node/process/process-task-runner-backend-module.d.ts +0 -15
- package/lib/node/process/process-task-runner-backend-module.d.ts.map +1 -1
- package/lib/node/process/process-task-runner-backend-module.js +15 -15
- package/lib/node/process/process-task-runner-backend-module.js.map +1 -1
- package/lib/node/process/process-task-runner-contribution.d.ts +0 -15
- package/lib/node/process/process-task-runner-contribution.d.ts.map +1 -1
- package/lib/node/process/process-task-runner-contribution.js +17 -17
- package/lib/node/process/process-task-runner-contribution.js.map +1 -1
- package/lib/node/process/process-task-runner.d.ts +0 -15
- package/lib/node/process/process-task-runner.d.ts.map +1 -1
- package/lib/node/process/process-task-runner.js +23 -23
- package/lib/node/process/process-task-runner.js.map +1 -1
- package/lib/node/process/process-task.d.ts +0 -17
- package/lib/node/process/process-task.d.ts.map +1 -1
- package/lib/node/process/process-task.js +20 -21
- package/lib/node/process/process-task.js.map +1 -1
- package/lib/node/process/process-task.spec.d.ts +0 -15
- package/lib/node/process/process-task.spec.d.ts.map +1 -1
- package/lib/node/process/process-task.spec.js +19 -19
- package/lib/node/process/process-task.spec.js.map +1 -1
- package/lib/node/task-abstract-line-matcher.d.ts +0 -15
- package/lib/node/task-abstract-line-matcher.d.ts.map +1 -1
- package/lib/node/task-abstract-line-matcher.js +15 -15
- package/lib/node/task-abstract-line-matcher.js.map +1 -1
- package/lib/node/task-backend-application-contribution.d.ts +0 -15
- package/lib/node/task-backend-application-contribution.d.ts.map +1 -1
- package/lib/node/task-backend-application-contribution.js +19 -19
- package/lib/node/task-backend-application-contribution.js.map +1 -1
- package/lib/node/task-backend-module.d.ts +0 -15
- package/lib/node/task-backend-module.d.ts.map +1 -1
- package/lib/node/task-backend-module.js +19 -19
- package/lib/node/task-backend-module.js.map +1 -1
- package/lib/node/task-line-matchers.d.ts +0 -17
- package/lib/node/task-line-matchers.d.ts.map +1 -1
- package/lib/node/task-line-matchers.js +15 -17
- package/lib/node/task-line-matchers.js.map +1 -1
- package/lib/node/task-manager.js +18 -17
- package/lib/node/task-manager.js.map +1 -1
- package/lib/node/task-problem-collector.d.ts +0 -15
- package/lib/node/task-problem-collector.d.ts.map +1 -1
- package/lib/node/task-problem-collector.js +15 -15
- package/lib/node/task-problem-collector.js.map +1 -1
- package/lib/node/task-problem-collector.spec.d.ts +0 -15
- package/lib/node/task-problem-collector.spec.d.ts.map +1 -1
- package/lib/node/task-problem-collector.spec.js +34 -34
- package/lib/node/task-problem-collector.spec.js.map +1 -1
- package/lib/node/task-runner.d.ts +0 -15
- package/lib/node/task-runner.d.ts.map +1 -1
- package/lib/node/task-runner.js +18 -18
- package/lib/node/task-runner.js.map +1 -1
- package/lib/node/task-server.d.ts +0 -15
- package/lib/node/task-server.d.ts.map +1 -1
- package/lib/node/task-server.js +20 -20
- package/lib/node/task-server.js.map +1 -1
- package/lib/node/task-server.slow-spec.d.ts +0 -15
- package/lib/node/task-server.slow-spec.d.ts.map +1 -1
- package/lib/node/task-server.slow-spec.js +33 -31
- package/lib/node/task-server.slow-spec.js.map +1 -1
- package/lib/node/task.d.ts +0 -15
- package/lib/node/task.d.ts.map +1 -1
- package/lib/node/task.js +16 -16
- package/lib/node/task.js.map +1 -1
- package/lib/node/test/task-test-container.d.ts +0 -15
- package/lib/node/test/task-test-container.d.ts.map +1 -1
- package/lib/node/test/task-test-container.js +16 -16
- package/lib/node/test/task-test-container.js.map +1 -1
- package/package.json +12 -14
- package/src/browser/index.ts +15 -15
- package/src/browser/monaco.d.ts +15 -15
- package/src/browser/process/process-task-contribution.ts +15 -15
- package/src/browser/process/process-task-frontend-module.ts +15 -15
- package/src/browser/process/process-task-resolver.ts +15 -15
- package/src/browser/provided-task-configurations.spec.ts +15 -15
- package/src/browser/provided-task-configurations.ts +15 -15
- package/src/browser/quick-open-task.ts +27 -28
- package/src/browser/task-configuration-manager.ts +15 -15
- package/src/browser/task-configuration-model.ts +15 -15
- package/src/browser/task-configurations.ts +15 -15
- package/src/browser/task-contribution.ts +15 -15
- package/src/browser/task-definition-registry.spec.ts +15 -15
- package/src/browser/task-definition-registry.ts +15 -15
- package/src/browser/task-frontend-contribution.ts +15 -15
- package/src/browser/task-frontend-module.ts +15 -15
- package/src/browser/task-name-resolver.ts +15 -15
- package/src/browser/task-node.ts +15 -15
- package/src/browser/task-preferences.ts +15 -15
- package/src/browser/task-problem-matcher-registry.ts +15 -15
- package/src/browser/task-problem-pattern-registry.ts +15 -15
- package/src/browser/task-schema-updater.ts +15 -15
- package/src/browser/task-service.ts +15 -15
- package/src/browser/task-source-resolver.ts +15 -15
- package/src/browser/task-templates.ts +15 -15
- package/src/browser/task-terminal-widget-manager.ts +15 -15
- package/src/browser/tasks-monaco-contribution.ts +15 -15
- package/src/common/index.ts +15 -15
- package/src/common/problem-matcher-protocol.ts +15 -15
- package/src/common/process/task-protocol.ts +15 -15
- package/src/common/task-common-module.ts +15 -15
- package/src/common/task-protocol.ts +15 -15
- package/src/common/task-watcher.ts +15 -15
- package/src/node/custom/custom-task-runner-backend-module.ts +15 -15
- package/src/node/custom/custom-task-runner-contribution.ts +15 -15
- package/src/node/custom/custom-task-runner.ts +15 -15
- package/src/node/custom/custom-task.ts +18 -18
- package/src/node/index.ts +15 -15
- package/src/node/process/process-task-runner-backend-module.ts +15 -15
- package/src/node/process/process-task-runner-contribution.ts +15 -15
- package/src/node/process/process-task-runner.ts +15 -15
- package/src/node/process/process-task.spec.ts +15 -15
- package/src/node/process/process-task.ts +18 -18
- package/src/node/task-abstract-line-matcher.ts +15 -15
- package/src/node/task-backend-application-contribution.ts +15 -15
- package/src/node/task-backend-module.ts +15 -15
- package/src/node/task-line-matchers.ts +18 -22
- package/src/node/task-manager.ts +15 -15
- package/src/node/task-problem-collector.spec.ts +15 -15
- package/src/node/task-problem-collector.ts +15 -15
- package/src/node/task-runner.ts +15 -15
- package/src/node/task-server.slow-spec.ts +21 -20
- package/src/node/task-server.ts +15 -15
- package/src/node/task.ts +15 -15
- package/src/node/test/task-test-container.ts +17 -17
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2021 ByteDance and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { injectable, inject, named } from '@theia/core/shared/inversify';
|
|
18
18
|
import { ILogger, MaybePromise } from '@theia/core/lib/common/';
|
|
@@ -34,9 +34,9 @@ export type TaskFactory = (options: TaskCustomOptions) => CustomTask;
|
|
|
34
34
|
export class CustomTask extends Task {
|
|
35
35
|
|
|
36
36
|
constructor(
|
|
37
|
-
@inject(TaskManager)
|
|
38
|
-
@inject(ILogger) @named('task')
|
|
39
|
-
@inject(TaskCustomOptions) protected readonly options: TaskCustomOptions
|
|
37
|
+
@inject(TaskManager) taskManager: TaskManager,
|
|
38
|
+
@inject(ILogger) @named('task') logger: ILogger,
|
|
39
|
+
@inject(TaskCustomOptions) protected override readonly options: TaskCustomOptions
|
|
40
40
|
) {
|
|
41
41
|
super(taskManager, logger, options);
|
|
42
42
|
this.logger.info(`Created new custom task, id: ${this.id}, context: ${this.context}`);
|
package/src/node/index.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
export * from './task';
|
|
18
18
|
export * from './task-runner';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { interfaces, Container } from '@theia/core/shared/inversify';
|
|
18
18
|
import { ProcessTask, TaskFactory, TaskProcessOptions } from './process-task';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { injectable, inject } from '@theia/core/shared/inversify';
|
|
18
18
|
import { ProcessTaskRunner } from './process-task-runner';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2017-2019 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
/*---------------------------------------------------------------------------------------------
|
|
18
18
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2019 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { expect } from 'chai';
|
|
18
18
|
import { removeAnsiEscapeCodes } from './process-task';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2017 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
/*---------------------------------------------------------------------------------------------
|
|
18
18
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -61,9 +61,9 @@ export class ProcessTask extends Task {
|
|
|
61
61
|
protected command: string | undefined;
|
|
62
62
|
|
|
63
63
|
constructor(
|
|
64
|
-
@inject(TaskManager)
|
|
65
|
-
@inject(ILogger) @named('task')
|
|
66
|
-
@inject(TaskProcessOptions) protected readonly options: TaskProcessOptions
|
|
64
|
+
@inject(TaskManager) taskManager: TaskManager,
|
|
65
|
+
@inject(ILogger) @named('task') logger: ILogger,
|
|
66
|
+
@inject(TaskProcessOptions) protected override readonly options: TaskProcessOptions
|
|
67
67
|
) {
|
|
68
68
|
super(taskManager, logger, options);
|
|
69
69
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2019 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
/*---------------------------------------------------------------------------------------------
|
|
18
18
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { injectable, inject, named } from '@theia/core/shared/inversify';
|
|
18
18
|
import { ContributionProvider } from '@theia/core';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2017 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
18
18
|
import { bindContributionProvider } from '@theia/core';
|
|
@@ -1,27 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2019 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { AbstractLineMatcher } from './task-abstract-line-matcher';
|
|
18
18
|
import { ProblemMatcher, ProblemMatch, WatchingPattern } from '../common/problem-matcher-protocol';
|
|
19
19
|
|
|
20
20
|
export class StartStopLineMatcher extends AbstractLineMatcher {
|
|
21
21
|
|
|
22
|
-
constructor(
|
|
23
|
-
protected matcher: ProblemMatcher
|
|
24
|
-
) {
|
|
22
|
+
constructor(matcher: ProblemMatcher) {
|
|
25
23
|
super(matcher);
|
|
26
24
|
}
|
|
27
25
|
|
|
@@ -69,9 +67,7 @@ export class WatchModeLineMatcher extends StartStopLineMatcher {
|
|
|
69
67
|
private endsPattern: WatchingPattern;
|
|
70
68
|
activeOnStart: boolean = false;
|
|
71
69
|
|
|
72
|
-
constructor(
|
|
73
|
-
protected matcher: ProblemMatcher
|
|
74
|
-
) {
|
|
70
|
+
constructor(matcher: ProblemMatcher) {
|
|
75
71
|
super(matcher);
|
|
76
72
|
this.beginsPattern = matcher.watching!.beginsPattern;
|
|
77
73
|
this.endsPattern = matcher.watching!.endsPattern;
|
|
@@ -85,7 +81,7 @@ export class WatchModeLineMatcher extends StartStopLineMatcher {
|
|
|
85
81
|
* @param line the line of text to find the problem from
|
|
86
82
|
* @return the identified problem. If the problem is not found, `undefined` is returned.
|
|
87
83
|
*/
|
|
88
|
-
match(line: string): ProblemMatch | undefined {
|
|
84
|
+
override match(line: string): ProblemMatch | undefined {
|
|
89
85
|
if (this.activeOnStart) {
|
|
90
86
|
this.activeOnStart = false;
|
|
91
87
|
this.resetActivePatternIndex(0);
|
package/src/node/task-manager.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2017 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
import { inject, injectable, named } from '@theia/core/shared/inversify';
|
|
17
17
|
import { Emitter, Event, ILogger } from '@theia/core/lib/common';
|
|
18
18
|
import { BackendApplicationContribution } from '@theia/core/lib/node';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2019 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { expect } from 'chai';
|
|
18
18
|
import { DiagnosticSeverity } from '@theia/core/shared/vscode-languageserver-protocol';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2019 Ericsson and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { AbstractLineMatcher } from './task-abstract-line-matcher';
|
|
18
18
|
import { ProblemMatcher, ProblemMatch } from '../common/problem-matcher-protocol';
|
package/src/node/task-runner.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
// *****************************************************************************
|
|
2
|
+
// Copyright (C) 2018 Red Hat, Inc. and others.
|
|
3
|
+
//
|
|
4
|
+
// This program and the accompanying materials are made available under the
|
|
5
|
+
// terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
+
// http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
+
//
|
|
8
|
+
// This Source Code may also be made available under the following Secondary
|
|
9
|
+
// Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
+
// Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
+
// with the GNU Classpath Exception which is available at
|
|
12
|
+
// https://www.gnu.org/software/classpath/license.html.
|
|
13
|
+
//
|
|
14
|
+
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
+
// *****************************************************************************
|
|
16
16
|
|
|
17
17
|
import { injectable, inject, postConstruct } from '@theia/core/shared/inversify';
|
|
18
18
|
import { Disposable } from '@theia/core/lib/common/disposable';
|