eclipse - Ant <input/> 不再在 Eclipse Helios 中工作 (3.6)

标签 eclipse macos ant multithreading

我的 Eclipse 项目中有一个构建文件。该文件所做的事情之一是通过提示提出问题,使用 <input/>标签。自从升级到 Eclipse Helios 后,这不再有效,因为我收到以下错误:

[input] ***WARNING: Display must be created on main thread due to Cocoa restrictions.

Invalid thread access

如何修复此错误?

最佳答案

它看起来确实像 bug 303869

I've submitted at feature request to Apple: Bug ID# 7840189 .
If we have the possibility to run the display code on the main thread via this new Dispatch object/method, I think that SWT can be made to work in applets without changing too much code, isn't it ?

另请检查bug 288436看看它是否与您的情况相关。

关于eclipse - Ant &lt;input/> 不再在 Eclipse Helios 中工作 (3.6),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3253077/

相关文章:

Ant 路径转换

ant - 如何将文件与 Ant 模式中的空格匹配?

android - 管理 Android 应用商店(谷歌/亚马逊/等)的代码/构建?

java - 导入 org.junit 无法解析

java - 查询在 MySql workbench 中运行,但不在 Java eclipse 中运行

eclipse - Eclipse 中的 Tomcat : It runs but time out during startup anyway, 也许

macos - 生成自签名 SSL 证书,权限错误 (OSX)

java - Tomcat 和 Maven :Publishing failed with multiple errors Error reading file C:\Windows\System32

macos - 让 SonarQube 在 MacOS 中工作时出现问题

linux - sed 是否无法将文件的第一行与地址范围的末尾相匹配?