bndtools/bndtools — Issue #276: Order of OBRs and Workspace for -runrequire resolving?
Author: mgrig
Created: 2011-11-08 17:47:51+00:00
State: open

Assume projects A,B,C with dependencies: A --> B --> C. Each has a version 1.0 in a LocalOBR.
I checkout A and B in the workspace, configure `version=latest` in the build path and do some changes to both A and B. I add A to `-runrequire`.The resolve process now solves B against the version in the LocalOBR, not against the workspace version.
The particularly disturbing part is that the classes are taken from the LocalOBR (old version), while the sources are (correctly) linked to the workspace code.
Should Workspace always take precedence over other OBRs? Or do we need a `version=latest` for `-runrequire` too? The latter raises the question of how to handle bundles that are not explicitly in `-runrequire`: with latest or without. (Proj B in our example)
Any ideas?
Marian