|output location question... [message #596283]
||Sat, 20 February 2010 01:32
| Henrik Lindberg
Registered: July 2009
When generating a default output location for a builder a default URI is
created consisting of:
Is a simple b3 scheme that is easily configured (typically points to
b3tmp:/ which points to the equivalence of file:/tmp
Is the name of the unit
Is the name of the builder
Is the name of the version
1. Buckminster uses a simplified version scheme where qualifier is
dropped from the version to reduce the length of the name and make it
more readable. It is also very unlikely that the same unit/builder
combination is invoked for two units at the same time where they only
differ by qualifier.
The question is, how to get a simplified version from a p2 version
(which can be just about anything).
Should it just accept a string of a max length and truncate the rest?
What about the format? Is the format easily removed?
2. Buckminster uses "component type" as well as "component name". I
opted to drop this in b3, since every build unit should have a unique
name in the b3.buildunit name space (analogous with an IU in p2). The
only time this will not work is if the same unit is involved having
different "shape" (i.e. from source or from binary). This seems very
The question is if it is ok to use only the builder name. If not, it
gets quite complicated as b3 allows a unit to implement several
different interfaces (and all of them may be needed to make the result
3. (Not a question, but worth considering)
Since it is possible to set the source and output locations explicitly
(in the authored build units), or advice generated build units, it is
possible to override any clashes in the unlikely event this will happen.
Powered by FUDForum
. Page generated in 0.02124 seconds