I have a component which I don't want to be valid until I have connected
to a server (at which point the component can be used)

However, the problem I have is that my iPOJO component starts valid and
I have to set it to invalid.  Unfortunately this results in the
component being available to other components.

Can I have an iPOJO which starts invalid?

-----Original Message-----
From: Hampel, Michael [mailto:[email protected]] 
Sent: 10 February 2010 15:32
To: [email protected]
Subject: bindex or obr problem?

Hello,
 
we have the following problem starting a bundle with obr:
 
In the bundle's manifest we have a header entry:
Bundle-RequiredExecutionEnvironment: OSGi/Minimum-1.0
 
bindex is generating this xml entry (within the <resource> element):
<require extend='false' filter='(|(ee=OSGi/Minimum-1.0))'
multiple='false' name='ee' optional='false'>
      Execution Environment (|(ee=OSGi/Minimum-1.0))
</require>
 
When we try to start the bundle with obr we get the following exception:
filter expression(missing package): (|(ee=OSGi/Minimum-1.0))

unresolved bundle: our.bundle

So it looks like that the ExecutionEnvironment Header is misinterpreted
as a package dependency - either by bindex or by OBR?

Maybe somebody else had this problem before - thanx for any help in
advance,

 

Michael

 

 

 

 

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

Reply via email to