Community
Participate
Working Groups
As described in bug 147432, there is no way for PDE in general to know how to build a project via an ant build file - it has to assume javac will suffice. The org.eclipse.core.resources.builders extension, and the base class IncrementalProjectBuilder allows new builders to be defined. So to me this seems like the logical place to also (optionally) specify how a project can be built via Ant.
I'm not sure I understand this request. If someone wants to invoke an IncrementalProjectBuilder via ant, they can do so using the eclipse.incrementalBuild Ant task. I don't see a need for a custom ant task to be generated for each builder...
Re: Comment #1: But PDE generates build files which use the javac ant task. This is primarily a PDE issue, as covered by bug 147432, it's just that I thought this request might enable a cleaner solution (as well as being generally useful). It seems reasonable to me to allow a project builder to describe how to build a project both within eclipse and via ant. An alternative might be for PDE to define its own extension point to allow a mapping between project builders and ant task builders.
One other thing - I see that File > Export > General > Ant Buildfiles also hardcodes use of the javac ant task. I'm not sure who provides that, but it appears to be outside of PDE.
Not planning to do this.