<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: OSGi version resolution</title>
	<atom:link href="http://blog.tfd.co.uk/2008/10/05/osgi-version-resolution/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tfd.co.uk/2008/10/05/osgi-version-resolution/</link>
	<description>Open Source Open Thought</description>
	<lastBuildDate>Thu, 24 Jan 2013 05:22:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Ian Boston</title>
		<link>http://blog.tfd.co.uk/2008/10/05/osgi-version-resolution/#comment-97</link>
		<dc:creator><![CDATA[Ian Boston]]></dc:creator>
		<pubDate>Sun, 05 Oct 2008 21:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tfd.co.uk/blogs/sakaiblog/?p=178#comment-97</guid>
		<description><![CDATA[Ok so I will be a bit more precise about what A,B,C,D are.

A is a bundle that depends on Spring 2.0.6, and that was specified with ;version=2.0.6
B is a bundle containing Spring 2.0.6
C is SpringDM 1.1.1 which depends on Spring &gt;= 2.5
D is Spring Beans version 2.5.5.A

When A starts is I get log messages of the form
14 == A
3 == D
13 == B

C started Ok.


DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans from [3.0] and org.springframework.beans from [13.0]
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans from [3.0] and org.springframework.beans from [13.0]
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans from [3.0] and org.springframework.beans from [13.0]
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]



its quite possible with all the SpringDM extenders and everything else there is something wierd gong on, I will mention it on the Felix lists.

I have found that the autostart load order is relevant.

If I start all of the SPring 2.0.6 and dependencies first, then no problem, but if I start SpringDM and Spring 2.5.5.A first, I get the problems.]]></description>
		<content:encoded><![CDATA[<p>Ok so I will be a bit more precise about what A,B,C,D are.</p>
<p>A is a bundle that depends on Spring 2.0.6, and that was specified with ;version=2.0.6<br />
B is a bundle containing Spring 2.0.6<br />
C is SpringDM 1.1.1 which depends on Spring >= 2.5<br />
D is Spring Beans version 2.5.5.A</p>
<p>When A starts is I get log messages of the form<br />
14 == A<br />
3 == D<br />
13 == B</p>
<p>C started Ok.</p>
<p>DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans from [3.0] and org.springframework.beans from [13.0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans from [3.0] and org.springframework.beans from [13.0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans from [3.0] and org.springframework.beans from [13.0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see javax.transaction.xa from [13.0] and javax.transaction.xa from [0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]<br />
DEBUG: Constraint violation for 14.0 detected; module can see org.springframework.beans.factory.xml from [3.0] and org.springframework.beans.factory.xml from [13.0]</p>
<p>its quite possible with all the SpringDM extenders and everything else there is something wierd gong on, I will mention it on the Felix lists.</p>
<p>I have found that the autostart load order is relevant.</p>
<p>If I start all of the SPring 2.0.6 and dependencies first, then no problem, but if I start SpringDM and Spring 2.5.5.A first, I get the problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://blog.tfd.co.uk/2008/10/05/osgi-version-resolution/#comment-96</link>
		<dc:creator><![CDATA[Stuart]]></dc:creator>
		<pubDate>Sun, 05 Oct 2008 17:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.tfd.co.uk/blogs/sakaiblog/?p=178#comment-96</guid>
		<description><![CDATA[Sounds like something else is going on - just because there are &gt;2 versions of a package available shouldn&#039;t stop Bundle A from resolving. Have you mentioned this on the Felix mailing list?

FYI, some people use the following version style:

 &quot;[x.y.z, x+1)&quot;   ie.   &quot;[1.3.0,2)&quot;

where x signifies an incompatible API change. ie: the minimum should be what you test against, and the maximum should be where the next incompatible API change will be.]]></description>
		<content:encoded><![CDATA[<p>Sounds like something else is going on &#8211; just because there are &gt;2 versions of a package available shouldn&#8217;t stop Bundle A from resolving. Have you mentioned this on the Felix mailing list?</p>
<p>FYI, some people use the following version style:</p>
<p> &#8220;[x.y.z, x+1)&#8221;   ie.   &#8220;[1.3.0,2)&#8221;</p>
<p>where x signifies an incompatible API change. ie: the minimum should be what you test against, and the maximum should be where the next incompatible API change will be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard S. Hall</title>
		<link>http://blog.tfd.co.uk/2008/10/05/osgi-version-resolution/#comment-95</link>
		<dc:creator><![CDATA[Richard S. Hall]]></dc:creator>
		<pubDate>Sun, 05 Oct 2008 15:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tfd.co.uk/blogs/sakaiblog/?p=178#comment-95</guid>
		<description><![CDATA[There must be more going on here than you describe, I think. Since there should be no constraint violation unless there is some sort of dependency between bundles A and C. Ultimately, you have to give more details to know what is going on. If you installed all four bundles, B would likely never get used in the first place, since the highest version of the package would get chosen in D.

Post a message on the users@felix mailing list with more details and I am sure there is a reasonable explanation.]]></description>
		<content:encoded><![CDATA[<p>There must be more going on here than you describe, I think. Since there should be no constraint violation unless there is some sort of dependency between bundles A and C. Ultimately, you have to give more details to know what is going on. If you installed all four bundles, B would likely never get used in the first place, since the highest version of the package would get chosen in D.</p>
<p>Post a message on the users@felix mailing list with more details and I am sure there is a reasonable explanation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
