为什么Eclipse Juno 4.2运行“JPA Java Change Event Handler”流程? [英] Why is Eclipse Juno 4.2 running "JPA Java Change Event Handler" processes?

查看:259
本文介绍了为什么Eclipse Juno 4.2运行“JPA Java Change Event Handler”流程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到Eclipse Juno 4.2。我有一个完全干净的新工作区,但是导入了以前在Eclipse 3.7中使用的项目,因此在其中包含一些Eclipse元数据。



当转到4.2时,我转换一个使用项目方面的项目。启用的唯一Facet是Java。



但是,我经常在我的进度视图中显示JPA Java Change Event Handler(Waiting)。我在项目中有JPA注释类,但是我没有启用JPA facet。



所以...为什么我得到这些任务由Eclipse运行?





更新:已经向Eclipse提交了错误,它正在被它的外观所看:

不幸的是,JPA java完成提议扩展点不正确地强制oejpt.jpa.core插件激活。一旦我们的插件被激活,我们开始监听java事件和facet事件,无论JPA是否刻面。在Juno中,这些后台线程被转换为Eclipse Jobs框架。在Helios中,您不会在进度视图中看到它们,但是存在同样的问题。



感谢您输入与Dali的错误 https://bugs.eclipse.org/bugs/show_bug.cgi?id=386171 。 / p>

更新:Juno SR1的错误已经修复,感谢JDT Text在这个Dali错误上的快速转身!



更新2 :此问题仍然发生在其他用例中。在Juno SR2中,有3个错误将用于解决这个问题。其中一些有进一步的修复,将需要在开普勒。查看错误:



https ://bugs.eclipse.org/bugs/show_bug.cgi?id = 397778



https://bugs.eclipse.org/bugs/show_bug.cgi?id=397606



https://bugs.eclipse.org/bugs/show_bug .cgi?id = 386393


I have just upgraded to Eclipse Juno 4.2. I have a completely clean new workspace, but have imported projects that have previously been used in Eclipse 3.7 and therefore have some Eclipse metadata in them.

When moving to 4.2 I converted a project to use "Project Facets". The only Facet enabled is "Java".

However, I regularly get "JPA Java Change Event Handler (Waiting)" appearing in my progress view. I do have JPA annotated classes within the project, but I do not have the JPA facet enabled.

So...why am I getting these tasks being run by Eclipse?

Update: Have submitted bug to Eclipse and it is being looked at by the looks of it: https://bugs.eclipse.org/bugs/show_bug.cgi?id=386171

解决方案

Unfortunately, the JPA java completion proposals extension point is incorrectly forcing o.e.jpt.jpa.core plug-in activation. Once our plug-in is activated we start listening for java events and facet events, whether JPA faceted or not. In Juno these background threads were converted to the Eclipse Jobs framework. In Helios you would not have seen them in the Progress View, but the same problem existed.

Thanks for entering a bug against Dali https://bugs.eclipse.org/bugs/show_bug.cgi?id=386171 for this problem.

Update: The bug has been fixed for Juno SR1, thanks to JDT Text for their quick turn around on this Dali bug!

Update 2: This problem is still occurring for other use cases. In Juno SR2 there are 3 bugs being worked on that will help resolve this issue. Some of these have further fixes that will need to go in Kepler. See bugs:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=397778

https://bugs.eclipse.org/bugs/show_bug.cgi?id=397606

https://bugs.eclipse.org/bugs/show_bug.cgi?id=386393

这篇关于为什么Eclipse Juno 4.2运行“JPA Java Change Event Handler”流程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆