Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
moley harey is currently offline moley harey
Messages: 23
Registered: July 2009
Junior Member
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
Christian Gudrian is currently offline Christian Gudrian
Messages: 24
Registered: July 2009
Junior Member
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
Catalin Gerea is currently offline Catalin Gerea
Messages: 89
Registered: July 2009
Location: Bucharest, Romania
Member

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.


Time is what you make of it.
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
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

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: Sat Apr 19 09:02:30 EDT 2014

Powered by FUDForum. Page generated in 0.02240 seconds