Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 147433 - Expand project builder extension point to enable better support for non-Java projects
Summary: Expand project builder extension point to enable better support for non-Java ...
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 09:31 EDT by Matt Chapman CLA
Modified: 2007-02-12 12:22 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Chapman CLA 2006-06-16 09:31:25 EDT
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.
Comment 1 John Arthorne CLA 2006-06-16 12:54:08 EDT
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...
Comment 2 Matt Chapman CLA 2006-06-16 14:36:19 EDT
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. 
Comment 3 Matt Chapman CLA 2006-06-16 14:39:01 EDT
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.
Comment 4 John Arthorne CLA 2007-02-12 12:22:54 EST
Not planning to do this.