Dear,

we created a very simple project containing two bundles: service and
service-user. The second one depending on the first one.



A. We are trying to have repository support for bundle resolving.

How we created the repository.xml:
1) by hand, according to the repository specification
2) by using the maven bundle plugin (seems to be not following the
repository specification, but some felix-specific syntax)
3) by using the org.osgi.impl.bundle.repoindex.cli.jar

Using the 2) bundle resolving works correctly. Deploying service-user
results also in service being installed/started.
However, this repository syntax is felix-specific and it doesn't (?)
support subsystems as resources which is what we try to do in the end.

So, using 1) bundle resolving does not work correctly. Deploying
service-user results in an unsatisfied constraint:
    obr:repos add file:../repository/repo.xml
    obr:deploy be.aca.service-user
What are we doing wrong here?
We hosted the project on https://github.com/timv2/OSGISubsystemTest. It is
very easy to set up.
The README also explains the situation. The actual repository file we
created is
https://github.com/timv2/OSGISubsystemTest/blob/master/runner/repository/repo.xml

Can someone give some feedback on this?



B. The next step would be to have support for subsystems in the repository.
Once we get A. to work, it comes down to how to create the repository xml
with subsystems. That might resolve in a next thread on the mailinglist :)

Best regards,
Tim

Reply via email to