Am Wednesday 29 June 2011 schrieb Alasdair Nottingham:
> Alasdair Nottingham
>
> On 28 Jun 2011, at 22:46, Oliver Lietz <[email protected]> wrote:
> > Am Tuesday 28 June 2011 schrieb Alasdair Nottingham:
> >> Alasdair Nottingham
> >>
> >> On 28 Jun 2011, at 22:06, Oliver Lietz <[email protected]> wrote:
> >>> Am Monday 27 June 2011 schrieb Alasdair Nottingham:
> >>>> Hi,
> >>>
> >>> hey,
> >>>
> >>>> I don't think there are any "plans". In the past releases have been
> >>>> more "on demand".
> >>>>
> >>>> After the 0.3 release we decided to move to a pre-bundle release
> >>>> process so their wont be a big 0.4 release like there were
> >>>> previously. Some bundles might be at 0.4 and some at 0.3.1.
> >>>>
> >>>> Do you need a release?
> >>>
> >>> a release with fixed dependencies would be nice. Instead of just
> >>> switching from org.apache.aries.blueprint 0.2-incubating to 0.3.1 I had
> >>> to add several missing dependencies (org.apache.aries.proxy,
> >>> org.apache.aries.util, org.objectweb.asm, org.objectweb.asm.commons,
> >>> org.objectweb.asm.tree).
> >>
> >> I'm not sure I follow what you mean. I know 0.3 required more externals,
> >> this was a deliberate decision.
> >
> > Looks like the manifest of blueprint is broken as it imports
> > org.apache.aries.proxy and org.apache.aries.util but the scope for
> > org.apache.aries.proxy in pom.xml is "test".
>
> It isn't broken. The org.apache.aries.proxy import is for a package. The
> pom depends on modules or bundles. The org.apache.aries.proxy bundle
> contains the implementation of the proxy package and is only required to
> rub tests, not to compile the code.
For sure it's broken, otherwise I won't get this unresolved constraint error:
[org.ops4j.pax.exam.rbc.internal.Activator] : Binding RemoteBundleContext to
RMI registry
[org.ops4j.pax.exam.rbc.internal.Activator] : Remote Bundle Context started
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[org.ops4j.pax.exam.rbc]
[ RemoteBundleContextClient] - Remote bundle context found after 1849
millis
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.aries.blueprint [10]: Unable to resolve 10.0: missing requirement
[10.0] package; (&(package=org.apache.aries.proxy)(version>=0.3.0)(!
(version>=1.0.0)))
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3404)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1714)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1143)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:680)
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[org.springextensions.db4o]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[org.springframework.beans]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[org.springframework.core]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[org.springframework.transaction]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[com.db4o.java5]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[com.springsource.org.apache.tools.ant]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[com.springsource.javax.inject]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle [osgi.core]
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle [osgi.cmpn]
ERROR: Error starting file:bundles/org.apache.aries.blueprint_0.3.1.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.aries.blueprint [10]: Unable to resolve 10.0: missing requirement
[10.0] package; (&(package=org.apache.aries.proxy)(version>=0.3.0)(!
(version>=1.0.0))))
[org.ops4j.pax.swissbox.extender.BundleWatcher] : Scanning bundle
[org.apache.felix.configadmin]
Adding the mentioned deps to the pom fixed it.
> >> We aren't going to bundle dependencies
> >> into the bundles in the future. If you mean you want a zip that contains
> >> everything you need for blueprint or jpa
> >
> > No, I just want a newer version of blueprint in my OSGi integration tests
> > (https://src.springframework.org/svn/se-db4o/trunk/org.springextensions.d
> > b4o- it-osgi/pom.xml).
> >
> >> we have discussed this and have
> >> support, we just haven't done a distribution release yet.
> >>
> >>> O.