|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Felix bundle repository does not consider bundle relationshipsHi,
I have two bundles, bundle1 and bundle2. Both of them depends on bundle3. The bundle bundle1 does not specify the version of bundle3, while the bundle2 specifies to need bundle3 with version 1.0. In my repository, I have two versions of bundle3, version 1.0 and version 2.0. I put them through to felix obr to resolve. The resolver returned the following result: bundle1, bundle2, bundle3;version=1.0 and bundle3;version2.0 However, my expectation is that the resolver should just return the following: bundle1, bundle2, bundle3;version=1.0 It is no reason to pull in two versions of the bundle3 It clearly shows that Felix OBR does NOT consider the bundle relations. It should not pull in two versions of the same bundle. Please can you let me know whether Felix OBR copes with the scenario I described above. Thanks Emily |
|
|
Re: Felix bundle repository does not consider bundle relationshipsCould you open up a JIRA issue and attach a repository.xml that
recreates the issue? -> richard On 11/12/09 6:58, Hehe wrote: > Hi, > I have two bundles, bundle1 and bundle2. Both of them depends on bundle3. > > The bundle bundle1 does not specify the version of bundle3, while the > bundle2 specifies to need bundle3 with version 1.0. > > In my repository, I have two versions of bundle3, version 1.0 and version > 2.0. > > I put them through to felix obr to resolve. The resolver returned the > following result: > bundle1, bundle2, bundle3;version=1.0 and bundle3;version2.0 > > > However, my expectation is that the resolver should just return the > following: > bundle1, bundle2, bundle3;version=1.0 > > It is no reason to pull in two versions of the bundle3 > > It clearly shows that Felix OBR does NOT consider the bundle relations. It > should not pull in two versions of the same bundle. > > Please can you let me know whether Felix OBR copes with the scenario I > described above. > > Thanks > Emily > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: Felix bundle repository does not consider bundle relationshipsHi,
I was my impression that if you do not specify a particular version, it would resolve to the newest available version, which would make the below situation correct. But am I fundamentally wrong about the semantic meaning of no specification? /Niels -----Original Message----- From: Hehe [mailto:ukjiang@...] Sent: 12 November 2009 11:59 To: users@... Subject: Felix bundle repository does not consider bundle relationships Hi, I have two bundles, bundle1 and bundle2. Both of them depends on bundle3. The bundle bundle1 does not specify the version of bundle3, while the bundle2 specifies to need bundle3 with version 1.0. In my repository, I have two versions of bundle3, version 1.0 and version 2.0. I put them through to felix obr to resolve. The resolver returned the following result: bundle1, bundle2, bundle3;version=1.0 and bundle3;version2.0 However, my expectation is that the resolver should just return the following: bundle1, bundle2, bundle3;version=1.0 It is no reason to pull in two versions of the bundle3 It clearly shows that Felix OBR does NOT consider the bundle relations. It should not pull in two versions of the same bundle. Please can you let me know whether Felix OBR copes with the scenario I described above. Thanks Emily -- View this message in context: http://old.nabble.com/Felix-bundle-repository-does-not-consider-bundle-relationships-tp26315879p26315879.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Felix bundle repository does not consider bundle relationshipsOn 11/13/09 2:53, Niels B Nielsen wrote:
> Hi, > > I was my impression that if you do not specify a particular version, it would resolve to the newest available version, which would make the below situation correct. > > But am I fundamentally wrong about the semantic meaning of no specification? > Not specifying the version is equivalent to specifying [0.0.0, infinity). OBR will favor the highest matching version in the range. Still, OBR will try to minimize the number of bundles to deploy, but perhaps there is a bug or oversight for this case. -> richard > /Niels > > -----Original Message----- > From: Hehe [mailto:ukjiang@...] > Sent: 12 November 2009 11:59 > To: users@... > Subject: Felix bundle repository does not consider bundle relationships > > > Hi, > I have two bundles, bundle1 and bundle2. Both of them depends on bundle3. > > The bundle bundle1 does not specify the version of bundle3, while the > bundle2 specifies to need bundle3 with version 1.0. > > In my repository, I have two versions of bundle3, version 1.0 and version > 2.0. > > I put them through to felix obr to resolve. The resolver returned the > following result: > bundle1, bundle2, bundle3;version=1.0 and bundle3;version2.0 > > > However, my expectation is that the resolver should just return the > following: > bundle1, bundle2, bundle3;version=1.0 > > It is no reason to pull in two versions of the bundle3 > > It clearly shows that Felix OBR does NOT consider the bundle relations. It > should not pull in two versions of the same bundle. > > Please can you let me know whether Felix OBR copes with the scenario I > described above. > > Thanks > Emily > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Felix bundle repository does not consider bundle relationshipsThanks, Richard and Niels,
I had an experiment about the scenario and found out: If I reorder the bundles in the order of bundle2, bundle1. The resolver just return: bundle2, bundle1 and only one version of bundle3 (version1.0), which is correct. The two versions of bundle3 were returned if I aggregate the bundle1 and bundle2 in the order of bundle1, bundle2. I will open a jira for it. Regards Emily ________________________________ From: Richard S. Hall <heavy@...> To: users@... Sent: Fri, 13 November, 2009 15:29:33 Subject: Re: Felix bundle repository does not consider bundle relationships On 11/13/09 2:53, Niels B Nielsen wrote: > Hi, > > I was my impression that if you do not specify a particular version, it would resolve to the newest available version, which would make the below situation correct. > > But am I fundamentally wrong about the semantic meaning of no specification? > Not specifying the version is equivalent to specifying [0.0.0, infinity). OBR will favor the highest matching version in the range. Still, OBR will try to minimize the number of bundles to deploy, but perhaps there is a bug or oversight for this case. -> richard > /Niels > > -----Original Message----- > From: Hehe [mailto:ukjiang@...] > Sent: 12 November 2009 11:59 > To: users@... > Subject: Felix bundle repository does not consider bundle relationships > > > Hi, > I have two bundles, bundle1 and bundle2. Both of them depends on bundle3. > > The bundle bundle1 does not specify the version of bundle3, while the > bundle2 specifies to need bundle3 with version 1.0. > > In my repository, I have two versions of bundle3, version 1.0 and version > 2.0. > > I put them through to felix obr to resolve. The resolver returned the > following result: > bundle1, bundle2, bundle3;version=1.0 and bundle3;version2.0 > > > However, my expectation is that the resolver should just return the > following: > bundle1, bundle2, bundle3;version=1.0 > > It is no reason to pull in two versions of the bundle3 > > It clearly shows that Felix OBR does NOT consider the bundle relations. It > should not pull in two versions of the same bundle. > > Please can you let me know whether Felix OBR copes with the scenario I > described above. > > Thanks > Emily > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |