Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I build an Eclipse plugin outside of Eclipse?

I have a series of Eclipse projects containing a number of plugins and features that are checked into CVS. I now need to run an automated build of these plugins. Ideally I'd like to do it without having to hardcode large numbers of Eclipse library locations by hand, which has been the problem with the automatically generated Ant files that Eclipse provides. The build also needs to run headlessly.

Does anyone have experience of this sort of set-up with Eclipse, and recommendations for how to achieve it?

like image 932
Adrian Avatar asked Nov 20 '08 15:11

Adrian


People also ask

Where does Eclipse store plugins?

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.

What is Eclipse plugin development?

The Eclipse PDE™ (Plug-in Development Environment) provides tools to create, develop, test, debug, build and deploy Eclipse plug-ins, fragments, features, update sites and RCP products.


1 Answers

There are a few options for you to look at, depending on which build scripting language you're using:

  • For Maven2, the way forward seems to be Spring Dynamic Modules. Other options are Pax Construct, m2eclipse, Maven BND
  • For Ant/Gant, Eclipse PDE Build, Ant4Eclipse
  • For command line or both the above, Buckminster.

At my current clients we use Buckminster, which wraps PDE-Build, and call it from Ant/CruiseControl. We've got code coming in from multiple repositories all being built into a single RCP product.

Also, these questions may be of help.

like image 111
jamesh Avatar answered Nov 15 '22 14:11

jamesh