> 2010/1/17 A.H. Oberthur <[email protected]>
>
>> 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
>>
>
> what do you see when you type:
>
>    headers 13
>
> into the Felix console? is there a line that starts with Bundle-Activator?
>
> similarly does the output from "headers 15" list any Bundle-Activator?

This is the output.

Command     : headers
Usage       : headers [<id> ...]
Description : display bundle header properties.
-> headers 13

Bundle 13
---------
-> headers 15

Bundle 15
---------

I presume I need to add something the manifest.mf?
Thanks for your prompt response.

Many regards,
Aloys

> Cheers, Stuart
>



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

Reply via email to