How to create an eclipse rcp application from .product with ant on jenkins

I would like to create an RCP Eclipse application.

I have a product configuration file and a target platform with a lot of third-party plugins. Exporting from the Eclipse IDE works flawlessly. But this is hardly professional. Therefore, I would like to make him work with Jenkins. The build server receives files from SVN, does not have Eclipse, and should still do this without any problems.

I do not want to use Maven / Tycho or Buckminster. I would like to make it as simple as possible. Since I already know a little about ant, I would like to do all this with ant. I have an ant script with which I can create all my plugins. All I need now is to put all of them into a product using startup (.exe), etc. Like the export wizard. But without the Eclipse IDE.

I turned off my fingers, but for some reason it seems that I'm the only one who wants to create an Rcl Eclipse product with ant. I only find textbooks that relate to 2005, or that go in such detail, a beginner (like me) does not go past the first paragraph.

Please, help!

+4
source share
2 answers

If you really want ant, check the PDE build .

However, I really recommend using Tycho. This simplifies the creation of RCP Eclipse.

+3
source

I'm on this road. Believe me ... you will end up with something incredibly complex with Ant than if you were using Tycho / Maven. You said you want it to be as simple as possible, and IMHO, it's Quiet.

There are examples here ... http://wiki.eclipse.org/Tycho/Packaging_Types

I also suggest checking tycho from git and looking at tycho-demo location. They also have great examples.

http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-demo/itp04-rcp

Plus, Jenkins handles Maven builds very easily.

The current version of Tycho is 0.13.0. It is quite early in life, and in active development, so it is getting better every day.

+1
source

Source: https://habr.com/ru/post/1394201/


All Articles