Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » annotation processing - dependencies in source files => builder(Annotations may generate dependencies other than import or class dependencies)
annotation processing - dependencies in source files => builder [message #1216080] Thu, 28 November 2013 05:08
Eclipse UserFriend
Hi.

I've been writing a JSR 330 compatible annotation framework.
When doing clean rebuilds or build all, everything ist fine.

Problems arise with incremental builds, as one of the natures of JSR 330 is to create compilation / annotation processing dependencies between source/class files which usually are not dependant.

So I spent a few days trying to figure out a way how it would be possible to convince a builder to not only build the "default" resouce delta on incremental builds.
This took me from change listeners to builders => InternalBuilder => BuildManager down to Workspace.getElementTree(). I learned about creating or deleting resources will modify this tree, but I could not figure out wether or how it was possible to additionally "touch" resources (just to get them contained in the "resource delta" a builder compiles/works on).

It would be nice, if someone could point out how things are to be "manipulated" to inflict a suitable IResourceDelta for annotation processor runs and the java builder.
Previous Topic:Stop suggesting camelCaseVaribleNames for new variables.
Next Topic:Custom Incremental Build Process
Goto Forum:
  


Current Time: Thu Apr 17 21:49:10 EDT 2025

Powered by FUDForum. Page generated in 0.03478 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top