Bug 23512 - Ant code generation API
Summary: Ant code generation API
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2002-09-12 17:26 EDT by Rodrigo Peretti CLA
Modified: 2009-08-30 02:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Peretti CLA 2002-09-12 17:26:42 EDT
I've seen a few posts on the newsgroup about people asking for some of the 
components to generate Ant scripts for them (specially JDT). For example if 
you have Java Projects (not plug-ins) and want to make nightly builds of them 
you might want to write Ant buildfiles for that. If Eclipse already has 
everything configured (project build path, etc...) wouldn't it be good to have 
an option for Eclipse to generate the Ant buildfile for you? This is only one 
example.

Another example is PDE Build. When you right click on a plug-in and 
choose "Create Plug-in JARs", PDE generates a build.xml file used to build the 
plug-in.

What about JUnit tests? Wouldn't be nice if you could generate Ant scripts to 
run JUnit on all the test suites in a project?

If many of the Eclipse plug-ins start to provide Ant script generation for 
some of their functionality, a common (and extensible) API for generating the 
scripts would be more than welcome.

What about an Ant editor? Couldn't it make use of an API like that?

I'm not sure if there is technology out there (maybe from Jakarta?) that 
provides API for generating Ant scripts but it could be worth investigating. 
The PDE Build component has a very basic support for that but it is not 
extensible and there might be better approaches than the one used there.
Comment 1 Darin Wright CLA 2002-11-15 13:28:43 EST
Not planned for 2.1
Comment 2 Denis Roy CLA 2009-08-30 02:24:42 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.