Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle Tasks extension does not work in Theia #8767

Closed
melaasar opened this issue Nov 20, 2020 · 1 comment · Fixed by #9189
Closed

Gradle Tasks extension does not work in Theia #8767

melaasar opened this issue Nov 20, 2020 · 1 comment · Fixed by #9189
Labels
vscode issues related to VSCode compatibility

Comments

@melaasar
Copy link

The (VSCode) "Gradle Tasks" extension can be searched and installed in Gitpod (Theia). However, unlike in VSCode, the side bar does not show up after the install. Trying to show it by selecting View -> Open View makes the side bar visible. However, you get an error when trying to click on the bar saying that it cannot contact the gradle server. All the views of the bar are also empty and they appear to spin with no result (I think trying to contact some server).

Steps to Reproduce:

  1. Select extensions bar in Gitpod (Theia). Search for "Gradle Tasks" and install it (for user or project).
  2. At this point the Gradle side bar should appear on the left but it does not
  3. Go to View -> Open View and search for Gradle and choose it. The side bar appears.
  4. Click on the side bar, you get an error trying to contact a gradle server,
  5. All the Gradle tabbed views (especially Gradle Tasks,,) are not there initially. However, you can make them visible.
  6. The Gradle Tasks view is empty (unexpected since there is a gradle script in the workspace).

Exampe repo to try on:

https://gitpod.io/#https://github.com/opencaesar/core-vocabularies

  • Operating System: I tried it in Gitpod but I believe it is a Theia bug
@vince-fugnitto
Copy link
Member

@melaasar I verified your linked workspace and I see the following error:

[error] Unable to refresh tasks: vscode.CustomExecution is not a constructor
[error] [gradle-server] Error running gradle wrapper: Picked up JAVA_TOOL_OPTIONS: -Xmx2254m
[error] Unable to get daemon status: Error running gradle wrapper: Picked up JAVA_TOOL_OPTIONS: -Xmx2254m

The parent issue seems to be that vscode.CustomExecution is not yet supported: #7185

I do see the view, but the missing API looks like the main issue about tasks not being provided:

image

@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label Nov 20, 2020
shyshywhy added a commit to shyshywhy/theia that referenced this issue Mar 12, 2021
shyshywhy added a commit to shyshywhy/theia that referenced this issue Mar 12, 2021
shyshywhy pushed a commit to shyshywhy/theia that referenced this issue Mar 14, 2021
shyshywhy pushed a commit to shyshywhy/theia that referenced this issue Mar 14, 2021
shyshywhy pushed a commit to shyshywhy/theia that referenced this issue Mar 14, 2021
shyshywhy pushed a commit to shyshywhy/theia that referenced this issue Mar 14, 2021
shyshywhy added a commit to shyshywhy/theia that referenced this issue Mar 14, 2021
shyshywhy added a commit to shyshywhy/theia that referenced this issue Apr 1, 2021
shyshywhy added a commit to shyshywhy/theia that referenced this issue Apr 2, 2021
kittaakos pushed a commit that referenced this issue Apr 6, 2021
dna2github pushed a commit to dna2fork/theia that referenced this issue Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants