Well, java-svn-maven2-eclipse-felix are now installed on my box ... ;-)
Launch Felix, all is OK.
Download Simple Bundle from Oscar Bundle Repository.
Copy it to the bundle directory ... and launch Felix.
Starting the Simple Bundle fails ...
[...]
DEBUG: WIRE: 3.0 -> org.apache.felix.shell -> 1.0
-> install file:bundle/simple.jar <<< install Simple Bundle
-> ps <<< get bundle id
START LEVEL 1
ID State Level Name
[ 0] [Active ] [ 0] System Bundle (0.8.0.SNAPSHOT)
[ 1] [Active ] [ 1] ShellService (0.8.0.SNAPSHOT)
[ 2] [Active ] [ 1] ShellTUI (0.8.0.SNAPSHOT)
[ 3] [Active ] [ 1] BundleRepository (0.8.0.SNAPSHOT)
[ 4] [Installed ] [ 1] Simple (1.0.0)
-> start 4 <<< start Simple Bundle
org.osgi.framework.BundleException: Activator start error.
at org.apache.felix.framework.Felix._startBundle(Felix.java:1261)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1149)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:326)
at org.apache.felix.shell.impl.StartCommandImpl.execute(
StartCommandImpl.java:80)
at
org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(
Activator.java:263)
at org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(
Activator.java:165)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError: org/osgi/framework/BundleContext
at org.ungoverned.osgi.bundle.simple.SimpleBundle.start(
SimpleBundle.java:58)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1216)
... 6 more
java.lang.NoClassDefFoundError: org/osgi/framework/BundleContext
->
Any idea ? I continue my hack ...
Does anybody use Felix with native libs ?
--
</arnaud>