akhikhl / wuff

Gradle plugin for automating assembly of OSGi/Eclipse bundles and applications
MIT License
153 stars 51 forks source link

How to use Wuff to build Eclipse plugin? #103

Open davidmichaelkarr opened 8 years ago

davidmichaelkarr commented 8 years ago

This may be a problem with terminology, as I'm very new to Eclipse plugin development, but it doesn't seem obvious how to use Wuff to build an existing Eclipse plugin. It appears I can build "IDE apps", which are like a standalone IDE, an "Equinox App", which looks like a headless application, and a "RCP app", which is a standalone RCP app.

My application produces an Eclipse plugin. It has a base directory with subdirs named "features", "plugins", "product" (and also "tests" and "samples"). It produces an update site that can be referenced to install the plugin. I don't see anything in the examples or the docs that fit this situation.

Note that the application currently uses Maven Tycho to build itself. I need to not change the structure of this application in order to get it to build with Gradle Wuff.

The single reason I'm looking at building this with Wuff is that the current application has some non-OSGi dependencies, in addition to all the OSGi Eclipse bundles that it needs. Those non-OSGi dependencies are available from a Maven repo if I could get that to work. It appears that Wuff can do this, if I can get through all the other obstacles.

nedtwigg commented 8 years ago

Might wanna take a look at Goomph and its example project. Currently on 3.0.0-SNAPSHOT, actively seeking feedback before 3.0.0 release.