Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Build Eclipse RCP Application using Apache Ant scripts?(Build Eclipse RCP Application using Apache Ant scripts?)
Build Eclipse RCP Application using Apache Ant scripts? [message #514714] Tue, 16 February 2010 07:38 Go to next message
Eclipse UserFriend
Hello All,

I have an Eclipse RCP Application that I usually build using Eclipse IDE but now I need to automate that process and I was wondering if is possible to build and generate the final product executable of my App using Apache Ant.

Is there any Eclipse Tool to generate Ant "build" and "dist" scripts that can be used to compile and generate the final product for different platforms and including all related plugins I am importing in my App?

Thanks in advance!

Mh
Re: Build Eclipse RCP Application using Apache Ant scripts? [message #514721 is a reply to message #514714] Tue, 16 February 2010 03:22 Go to previous messageGo to next message
Eclipse UserFriend
moley harey <moleyharey@gmail.com> wrote:

> I have an Eclipse RCP Application that I usually build using Eclipse IDE
> but now I need to automate that process and I was wondering if is
> possible to build and generate the final product executable of my App
> using Apache Ant.

Before you start writing Ant scripts yourself you should definitely have
a look at Buckminster:

http://www.eclipse.org/buckminster/

Christian
Re: Build Eclipse RCP Application using Apache Ant scripts? [message #514754 is a reply to message #514714] Tue, 16 February 2010 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Hello

1. I am using an ant script to build my rcp application. Beside the PDE build I am doing some additional steps. The advantage is that I can start the build outside the Eclipse IDE using a batch/bash script.

2. As a starting point you can try this link: http://rcpquickstart.com/2007/06/06/getting-started-with-pde -build/. Or you can try http://www.pluginbuilder.org/.

3. It is a bit frustrating in the beginning because you will probably get some cryptic error messages (especially related to PDE build) but after some practice you will get it right.

4. I do not know any tool that will automatically generate the ant scripts (although in my opinion the product export wizard should do this beside the actual export).

5. Do a search on "eclipse headless build" and you will get additional info.
Re: Build Eclipse RCP Application using Apache Ant scripts? [message #515189 is a reply to message #514714] Wed, 17 February 2010 18:24 Go to previous message
Eclipse UserFriend
Hi,

this might also help:
http://www.vogella.de/articles/EclipsePDEBuild/article.html

Cheers, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter

On 16.02.2010 04:38, moley harey wrote:
> Hello All,
>
> I have an Eclipse RCP Application that I usually build using Eclipse IDE
> but now I need to automate that process and I was wondering if is
> possible to build and generate the final product executable of my App
> using Apache Ant.
>
> Is there any Eclipse Tool to generate Ant "build" and "dist" scripts
> that can be used to compile and generate the final product for different
> platforms and including all related plugins I am importing in my App?
>
> Thanks in advance!
>
> Mh
Previous Topic:Handler enablement doesn't work unless widow focus changes
Next Topic:Enable "Save As" command
Goto Forum:
  


Current Time: Wed Jul 23 13:22:04 EDT 2025

Powered by FUDForum. Page generated in 0.06976 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top