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:ukji...@yahoo.com]
Sent: 12 November 2009 11:59
To: users@felix.apache.org
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-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to