java - Eclipse RCP 检索编译错误

标签 java eclipse eclipse-plugin

我正在开发一个 eclipse rcp。当我运行一个项目时,它首先被构建然后启动。如果构建器无法编译项目,那么我必须通知用户。

哪种方法可以更好地了解编译过程中是否出现错误?

谢谢

最佳答案

一种方法是在 Eclipse 中添加您自己的构建器。转到“项目”->“属性”->“构建器”,然后“新建”以添加您自己的构建器。您可以使用 ant 脚本或 Maven 作为构建器。当然,你需要了解 ant。

关于java - Eclipse RCP 检索编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5622228/

相关文章:

eclipse - 在 eclipse 插件 : How can I programmatically highlight lines of codes in the java editor?

java - Equinox/OSGi/Eclipse插件开发: where do these dependencies come from and how do I specify their minimum versions?

eclipse-plugin - 在 eclipse 插件中查找当前 IEditor 的根项目目录

java - 从 Eclipse 导出 jar 时出现 "Could not find main method from given launch configuration"错误

java - 小服务程序 : How to build absolute path

java - 在 Java 中使用什么集合代替二维数组?

eclipse - 如何以编程方式从 .zip 文件导入 Eclipse 项目?

java - java sound API可以进行哪些数据格式转换?

java - 测试数组类类型对象时出现 Eclipse ClassNotLoadedException

java - 根据其地理位置对数组进行排序