|Generation build.xml programatically [message #336726]
||Mon, 29 June 2009 13:15
| Aakash Murari
Registered: July 2009
I want to build Eclipse projects in continous integration. For that, I
need to generated the build.xml programatically everytime.
I have read about the eclipse.buildScript target, but it seems is only for
plugins/features/fragments. I am having normal Java projects.
Is there any way to do it?
|Re: Generation build.xml programatically [message #336751 is a reply to message #336726]
||Tue, 30 June 2009 21:59
Originally posted by: eclipse-news.rizzoweb.com|
Aakash Murari wrote:
> I want to build Eclipse projects in continous integration. For that, I
> need to generated the build.xml programatically everytime.
By "everytime" do you mean every time a file in the project is changed
(or a subset of files)? If so, then I would use an
IResourceChangeListener and in response to changes call whatever API is
necessary to do the build.xml export.
This should help get you started:
To discover the API you need to call for the export, open the buildfile
export wizard and then use the Plug-in Spy (Shift+Alt+F1) to learn what
class implements that wizard.
Hope this helps,
Powered by FUDForum
. Page generated in 0.01645 seconds