On 9/19/09 20:23, Jochen Mader wrote:
Tried it out.
I created 3 bundles.
The prof1 bundle depends on basis.
Putting them both into a OSGi framework (Equinox or Felix) works, they both
get started.
I now keep prof1 in a separate directory and create the obr.xml.
A third bundle (called provisioning) gets the repository admin and adds the
repository.
Using ps in felix gives the following output:

START LEVEL 1
ID State Level Name
[ 0] [Active ] [ 0] System Bundle (2.0.0)
[ 1] [Active ] [ 1] Basis (1.0.0.200909191836)
[ 2] [Active ] [ 1] Apache Felix Bundle Repository (1.4.1)
[ 3] [Active ] [ 1] Apache Felix Shell Service (1.4.0)
[ 4] [Active ] [ 1] Apache Felix Shell TUI (1.4.0)
[ 5] [Active ] [ 1] Provisioning (1.0.0.200909191959)
basis and prof1 are

Basis is clearly there and started. Trying to bring in the prof1 bundle
gives the following missing requirements in both Equinox and Felix:

Unable to resolve:
(&(symbolicname=de.pflanzenmoerder.basis)(version>=1.0.0))

(Additionially I get
Unable to resolve: (|(ee=JavaSE-1.6))

in Felix)

You have to manually configure the EE in Felix.

So OBR is clearly not aware of basis being already available in the
framework.

Any suggestions?

If you could open an issue with your example and the steps to reproduce, I will look into it.

-> richard

Thanks,

Jochen


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

Reply via email to