Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Eclipse plugins and features on the command line

Tags:

I have a bunch of Eclipse plugins and features, which I would like to build as part of a nightly (headless) build. I've managed to do this using a complicated setup involving manually specifying paths to Eclipse plugin jars, copying customTargets.xml, etc.

Is there really no simpler solution? Isn't there a way to just point out my Update Site's site.xml and say "build"; i.e. the equivalent of clicking "Build All" in the Update Site project?

like image 743
JesperE Avatar asked Sep 25 '08 13:09

JesperE


People also ask

What is plugin development in Eclipse?

The Plug-in Development Kit (PDK) includes an Eclipse plug-in that you can use in your Eclipse or Rational® Application Developer environment to create and edit some of the configuration files in the plug-ins that are used in your virtual applications. Overview. Prerequisites.

Where are Eclipse plugins stored?

As far as I know, Eclipse stores its plugins in its installation directory ( eclipse ). They might reside in eclipse/plugins or eclipse/dropins . You can copy the whole eclipse directory from your old box.


1 Answers

Given that all the answers to this question are all 3-5 years old, I figure an update would be useful to others.

For those who want to add the building of Eclipse plugins to the CI process, I recommend they check out the Eclipse Tycho project. This is essentially a Maven plugin that allows you you to wrap eclipse projects within Maven project. With this we use Atlassian Bamboo to build our Eclipse plugin. This also allows us to use the Maven jarsigner plugin to sign our plugin files.

like image 53
Jason Nichols Avatar answered Oct 03 '22 20:10

Jason Nichols