The issue is, OBR doesn't currently support capabilities for EE, but it cannot ignore them. If a bundle specifies a requirement on some capability, then OBR must match it (unless the requirement is optional).

Regardless, I think there is a bug opened of this issue. Ultimately, OBR needs some way to set the current EE and create a capability for it.

-> richard


Heiko Seeberger wrote:
Richard,

I would not expect it to handle it (e.g. Felix running on 1.5 and bundle requiring 1.6 => Exception). But I would expect OBR to ignore it then. Sadly currently I simply cannot deploy any bundles written for J2SE-1.5.

Heiko

On 06.02.2009, at 15:30, Richard S. Hall wrote:

I don't believe that OBR currently handles execution environment.

-> richard

Heiko Seeberger wrote:
Felix,

Try setting the "org.osgi.framework.executionenvironment" framework
property such that it includes J2SE 1.5.

Thanx, but that did not help :-(

For example in Apache Sling, we manage this property by setting it such,
that it includes entries for all platforms starting with 1.2. For
example in a Java 6 platform, Sling sets

 org.osgi.framework.executionenvironment=J2SE-1.2,J2SE-1.3,\
    J2SE-1.4,J2SE-1.5,J2SE-1.6

By the way: I think it should be JavaSE-1.6, not J2SE-1.6

Heiko

--

Hope this helps.

Regards
Felix

Heiko Seeberger schrieb:
Hi,

I am using - well, trying to use OBR - but I end up with the following
exception:

Unsatisfied requirement(s):
---------------------------
 (|(ee=J2SE-1.5))

Felix is running on Java 6 and I am using Felix 1.4.1.

Any ideas?

Thanx
Heiko


---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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]



---------------------------------------------------------------------
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