Hello,

I´m not sure if this the right place for my request. I´m a newbie of this
mailing list.

I try to use the RepositoryService. But I get the following error.

osgi> deploy [email protected]
Unsatisfied requirement(s):
---------------------------
   (&(osgi.ee=JavaSE)(version=1.5))

Is this failor correct because felix-system-bundle has this capability
(with .0 as suffix).
 osgi.ee; JavaSE [1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0]


[MY RUNTIME]

osgi> lb
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.4.0)
    1|Active     |    1|Apache Felix Bundle Repository (2.0.2)
    2|Active     |    1|bndlib (2.3.0.201405100607)
    3|Active     |    1|biz.aQute.repository (2.1.0.062515_230REL)
    4|Active     |    1|Java XML Streaming API (1.0.1.v201004272200)
    5|Active     |    1|JAXP XML (1.3.4.v201005080400)
    6|Active     |    1|Apache Felix Gogo Command (0.14.0)
    7|Active     |    1|Apache Felix Gogo Runtime (0.12.1)
    8|Active     |    1|Apache Felix Gogo Shell (0.10.0.v201212101605)

osgi> obr:repos add file:/my-repo/index.xml
osgi> info [email protected]
----------------------
org.apache.lucene.core
----------------------
symbolicname: org.apache.lucene.core
mime: application/vnd.osgi.bundle
type: osgi.bundle
uri:
file:/Users/winter/tools/eclipse/eclipse-standard-luna-R-macosx-cocoa-x86_64/plugins/org.apache.lucene.core_3.5.0.v20120725-1805.jar
size: 1550773
version: 3.5.0.v20120725-1805
Requires:
   (&(osgi.ee=JavaSE)(version=1.5))
Capabilities:
...

osgi> felix:inspect capability osgi.ee
org.apache.felix.framework [0] provides:
----------------------------------------
osgi.ee; OSGi/Minimum [1.0.0, 1.1.0, 1.2.0] [UNUSED]
osgi.ee; JavaSE [1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0]
required by:
   biz.aQute.bndlib [2]
   biz.aQute.bndlib [2]
   javax.xml [5]
   javax.xml.stream [4]
   biz.aQute.repository [3]

Reply via email to