how to build eclipse rcp application from .product with ant on jenkins

I’d like to build an Eclipse RCP application.

I have a Product configuration file and a target platform with lots of third party plugins. The export from the Eclipse IDE works flawlessly. But that is hardly professional. So I’d like to get it to work on Jenkins, too. The build server gets the files from SVN, doesn’t have Eclipse and should do it all headlessly anyway.

I do not want to use Maven/Tycho or Buckminster. I’d like to do it a simple as possible. Since I know a bit about ant already, I would like to do it all with ant. I have an ant script with which I can build all my plugins. All I need right now, is to assemble them all into the product with a launcher (.exe) and such. Like the export wizard does. But without the Eclipse IDE.

I’ve been googling my fingers off, but somehow it appears as if I’m the only one who wants do build an Eclipse RCP product with ant. I only find tutorials that are from 2005 or that go so much in depth, a newbie (like me) doesn’t get past the first paragraph.

Please help!

  • Jenkins Github Plugin can't choose my credentials
  • Configure Jenkins Mac OS X native package to run in a different port
  • Jenkins, specifying JAVA_HOME
  • Maven build fails on Jenkins
  • How to block some Jobs for some user level in Jenkins?
  • karma + Chrome not working after last auto-update of Chrome
  • Jenkins cannot read Github password since upgrading to Git client plugin 2.1.0
  • Jenkins integration with Grunt
  • 2 Solutions collect form web for “how to build eclipse rcp application from .product with ant on jenkins”

    If you really want ant, check PDE build.

    However, I really recommend using Tycho instead. It makes building an Eclipse RCP a lot easier.

    I’ve been down this road you are on. Trust me… you will end up with something incredibly more complicated with Ant than you would if you just use Tycho/Maven. You said you want it simple as possible, and IMHO, Tycho is it.

    There are examples here…

    I also suggest to check out tycho from git and look around the tycho-demo location. They have great examples there too.

    Plus, Jenkins is super easy when dealing with Maven builds.

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

    Git Baby is a git and github fan, let's start git clone.