|
|
|
Re: Generation build.xml programatically [message #336751 is a reply to message #336726] |
Wed, 01 July 2009 01:59 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Aakash Murari wrote:
> Hi
>
> 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:
http://www.eclipse.org/articles/Article-Resource-deltas/reso urce-deltas.html
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,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03420 seconds