IntelliJ 10.5, osmorc, and felix 3.2.2

I started with using the Community edition of IDEA and manually downloading the osmorc plugin.

I got the following error:

         ___
        /  /
       /  / Oops, there has been a problem!
      /  /  
     /__/   Platform [platform.felix 3.2.2] is not supported
    ___
   /__/    

-> Exception caught during execution:
org.ops4j.pax.runner.ConfigurationException: Platform [platform.felix 3.2.2] is not supported
    at org.ops4j.pax.runner.Run.installPlatform(Run.java:616)
    at org.ops4j.pax.runner.Run.start(Run.java:226)
    at org.ops4j.pax.runner.Run.main(Run.java:153)
    at org.ops4j.pax.runner.Run.main(Run.java:121)

I've seen elsewhere that opening the pax-runner....jar file and looking under the META-INF directory will show you the supported platforms. However, under META-INF\platform-felix, the most recent version I see listed for Felix is 2.0.2; and this is quite old.

I also understand that osmorc comes pre-packaged with the Ultimate edition of IDEA. So I installed that version hoping to get an osmorc that supports new versions of Felix. However I got the same error.

Note that I didn't uninstall the previous manually-downloaded osmorc plugin before installing IDEA Ultimate.I'm assuming that IDEA Ultimate would have used its own plugin version if it came with something different.

Is there no way to work with osmorc and a new version of felix?

0
Avatar
Permanently deleted user

Doug, have you solved this problem somehow? I'm trying to use OSGI with IDEA for the 1st time. I downloaded the latest Apache Felix and could not start it with the last IDEA Ultimate

0

Osmorc plugin uses Pax Runner which unfortunately doesn't support Felix 3.2.2 yet (looks like the last support version is 3.2.1: https://github.com/ops4j/org.ops4j.pax.runner/commits/master).

Please file them an issue, and when a new version get released file another issue in our tracker so we can upgrade to it.

0
Avatar
Permanently deleted user

thanks, Roman.

0
Avatar
Permanently deleted user

I sent a message to the PAX developer... we'll see

0
Avatar
Permanently deleted user

the PAX  developer say :
> Felix 3.2.2 is supported in the last version

0
Avatar
Permanently deleted user

(the last is 1.7.5)

0

Thank you.
IDEA 11 will be shipped with updated runner.

0
Avatar
Permanently deleted user

it's good, but it should also include the updated/cleaned up OSMORC plugin to use the runner. We currently have to disable the plugin because it's too buggy (fails with lots of exceptions for our Maven + BND project). For some reasons I can't even submit those bugs - "send error to JEtbrains"  buttons stays disabled.

0
Avatar
Permanently deleted user

not yet, there's a lot of them...
we're switching a large organization codebase to OSGI and really need OSGI support in IDEA (since IDEA is our corporate standard)
unfortunately, it looks like this plugin is beta-quality at this point...

0

May be the plugin just wasn't tested yet in every possible situation.
Please report as much as you can - it's the only way to get things fixed.

0

请先登录再写评论。