Writing Plugin to add Module Type for Eclipse OSGi plugin

I am looking at writing an Intellij plugin to add a Module Type for Eclipse OSGi plugin. What it will do is use the plugin manifest file as the source of module dependencies, classpath, inpurts, exports etc. Has anyone done this before, or are working on something similar?

I have got the source for the Ivy plugin as this is the only plugin I have found that is similar. Are there any other example Module Type plugins around with source?

Looking at ModifiableRootModel which seems to be the way you manage the contents of a Module. Is there any documentation around on OrderEntry’s?

The problem I see is I a am not sure there is support in the API for controlling exports on a per package level that is required to properly support eclipse plugins??

Thanks, Jasper

4 comments

Hello Jasper,

There's an eclipse workspace import plugin I've written a while ago that
creates IDEA plugins from eclipse OSGi plugins (among other things). I haven't
gotten around to publish the sources yet (the plugin is available from the
plugin repository, though), but drop me a note and I'll send them to you,
if you're interested.

Best,
Andrei

JP> I am looking at writing an Intellij plugin to add a Module Type for
JP> Eclipse OSGi plugin. What it will do is use the plugin manifest file
JP> as the source of module dependencies, classpath, inpurts, exports
JP> etc. Has anyone done this before, or are working on something
JP> similar?
JP>


0

Hi Jasper,

I posted elsewhere, but I would also like to develop such a plugin for OSGi bundle development. The SimpleCenter project (http://www.simplecenter.org) is using OSGi for plugins, and this would really help us make the development of plugins easier.

Have you gotten anywhere with this? How can we help?

0

Anything ever come of the OSGi plugin.

0

Scott Delap wrote:

Anything ever come of the OSGi plugin.


I have started my project, but I am not getting enough time to work on it,
as I initially targetted it for submission in the JetBrains plugin contest.

The work is progressing (slowly) at OPS4J, http://www.ops4j.org, and the
sources can be found via SVN in
https://scm.ops4j.org/repos/ops4j/projects/pax/runner

I still want to complete it, but it will probably take a while... Extra
hands would be nice. OPS4J has a 'no barrier to committership' policy, so
just sign up on the Jira and you have commit access shortly after.


Cheers
Niclas


0

Please sign in to leave a comment.