Hello,

I have just begun evaluating Felix and have set up everything as described
in 'getting started'. I have also set up my own Eclipse environment as
described and now have a Felix project with:

Felix
- src
- bin: here lies felix.jar
- bundles: org.apache felix bundles
- conf: felix config
- classes: compiled classes from Eclipse (instead of bin)
- aloys: my own jars added (for now tutorial jars)

I start Felix via running org.apache.felix.main.Main.
When I add the jar created from tutorial 01 (activator class) and start it
I get the following output from the ps command:

START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.1)
[   1] [Active     ] [    1] Apache Felix Bundle Repository (1.4.2)
[   2] [Active     ] [    1] Apache Felix Shell Service (1.4.1)
[   3] [Active     ] [    1] Apache Felix Shell TUI (1.4.1)
[  13] [Active     ] [    1] file:aloys/felix.tutorial.01.jar


When I add the jar created from tutorial 02 and start it (class that
implements a simple bundle that uses the bundle context to register an
English language dictionary service) I get:

START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.1)
[   1] [Active     ] [    1] Apache Felix Bundle Repository (1.4.2)
[   2] [Active     ] [    1] Apache Felix Shell Service (1.4.1)
[   3] [Active     ] [    1] Apache Felix Shell TUI (1.4.1)
[  13] [Active     ] [    1] file:aloys/felix.tutorial.01.jar
[  15] [Active     ] [    1] file:aloys/felix.tutorial.02.jar


Only do I not get any output from the activator class from tutorial 01 as
I should get from what I understood. Neither do I get any output from a
System.err statement added to start method of the Activator class in
tutorial 02 bundle or can I reach breakpoints. I am using the lastest
version of Felix and have already tried setting up everything outside of
Eclipse. What am I missing?

Many regards,
Aloys


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to