redhat-developer / redhat-developer/vscode-java

Stuck at "Building: 0% [0/1000]" in "Task - Java Build Status"

未关闭
#1,739 8 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

ls-error/crash
主要语言
TypeScript
星标
2.3k
派生
547
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

I wrote a Maven plugin to generate .class files and a .jar from OpenOffice .idl files.
When i open the workspace which uses said plugin the project compiles fine and auto completion works. But when i edit one of these .idl files autocompletion stops working and i'm getting stuck at "Building: 0% [0/1000]" in "Task - Java Build Status". The goal of my Maven plugin will still finish tho, so the issue seems to occur after my plugin finishes execution.
My Maven plugin uses the "META-INF/m2e/lifecycle-mapping-metadata.xml" file to make the plugin compatible with eclipse.
I also made sure that there's no compilation if nothing actually changed. I can run mvn install as often as i want and it won't change the modification dates of any of my generated files.

It would be nice if someone could show me how to debug the task "Java Build Status" so i can figure out what's wrong.

I'll try to somehow create 2 sample projects to reproduce if there is no way to debug it myself.

Environment
  • Operating System: openSUSE Leap 42.2
  • JDK version: 11.0.8, 2020-07-14
  • Visual Studio Code version: 1.50.0, 2020-10-07
  • Java extension version: 0.72.0, [2020-12-02]

Screenshot_20201211_110403

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,使用包含所报告的 Maven 插件及其 META-INF/m2e/lifecycle-mapping-metadata.xml 文件的 workspace,重现停滞的“Java Build Status”。比较编辑 OpenOffice .idl 文件前后的行为,并使用所要求的调试路径确定自动补全停止的原因;当构建状态完成且插件运行后自动补全仍然可用时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, vscode
领域
build-system, developer-experience, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。