I figured out my problem.  It turns out I just didn't know how to use
the 'jar' command properly and was not including the correct MANIFEST.MF
file in the jar I was creating.

I used the newer repoindex app (instead of bindex) to retest and it
seems to be working now.


On 07/21/2014 11:07 PM, Tim McIver wrote:
> Hello,
>
> I'm new to OSGi and am currently making my way through "OSGi in
> Action".  I wanted to create a repository.xml using bindex.jar that
> contained two versions of one of the paint application bundles so I
> un-jarred square-4.0.jar, updated "Bundle-Version" to "4.1", re-jarred
> and ran bindex on the 'paint-bundles' directory which contained all the
> original bundles with the new square-4.1.jar as well.  Unfortunately,
> the resource entry for the new square jar was obviously incorrect as it
> had some strange values:
>
> <resource id='Untitled-1854610702/0.0.0'
> symbolicname='Untitled-1854610702' uri='paint-bundles/square-4.1.jar'
> version='0.0.0'>
> . . .
>
> Probably I don't understand the way bundles and/or OBR work.  Could
> someone please shed some light on my ignorance?
>
> Thank you,
> Tim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


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

Reply via email to