eclipse自定义增量构建过程

eclipse自定义增量构建过程

本文介绍了eclipse自定义增量构建过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想进入eclipse构建过程(java项目),当相关的类文件(例如,触摸了一个特殊的自定义注释的类)时,它会做一些自定义的验证和处理?

I just want to tap into the eclipse build process (java projects), where that will do some custom validations and processing when a relevant class file (eg. A class with a special custom annotation is touched) ?

-Malinga

推荐答案

您编写的插件使用 org.eclipse.core.resources.builders 扩展点来声明自己的增量构建器。

You write a plug-in that uses the org.eclipse.core.resources.builders extension point to declare your own incremental builder.

请参阅Eclipse帮助:增量项目构建器

See the Eclipse help: Incremental project builders

这篇关于eclipse自定义增量构建过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 08:12