Skip to main content


Eclipse Community Forums
Forum Search:

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

b3output:/unitName_builderName_version

where
- 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

QUESTIONS
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
unlikely.

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
unique).

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:Running JUnit B3 tests now works with BuildUnits and Builders
Next Topic:output location question...
Goto Forum:
  


Current Time: Thu Apr 25 16:19:06 GMT 2024

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

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

Back to the top