问题
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
回答1:
You write a plug-in that uses the org.eclipse.core.resources.builders
extension point to declare your own incremental builder.
See the Eclipse help: Incremental project builders
来源:https://stackoverflow.com/questions/20141311/eclipse-custom-incremental-build-process