Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » output location question...
output location question... [message #596283] Sat, 20 February 2010 01:32
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
When generating a default output location for a builder a default URI is
created consisting of:


- b3output:/
Is a simple b3 scheme that is easily configured (typically points to
b3tmp:/ which points to the equivalence of file:/tmp

- unitName
Is the name of the unit

- builderName
Is the name of the builder

- version
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.
Previous Topic:output location question...
Next Topic:b3 runs resolver and builds
Goto Forum:

Current Time: Tue Jun 19 10:45:22 GMT 2018

Powered by FUDForum. Page generated in 0.01267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top