Skip to content
manast edited this page Sep 13, 2010 · 3 revisions

Q: Why is Contexo always rebuilding ‘moduleX’ but not ‘moduleY’?

A: Currently, code modules are always rebuilt if they have external dependencies (indicated by the existance of an ‘xdepends’ file in the contexo subdirectory of the code modules). A general recommendation which minimizes the overhead from this behaviour is to keep external dependencies isolated to small interface modules.

Q: How does Contexo know which RSpec to use if my view contains more than one?

A: A view may contain multiple RSpecs, but only if one of them directly or indirectly imports the others. In other words, only one RSpec-tree may exist in a view. Contexo will abort with an error if more than one RSpec tree has been identified.

Q: Can I use an RSpec as a baseline?

A: Yes, if meeting the following criteria an RSpec can be used as baseline:

  • The —repo-validation flag is used on the build commandline. Asserting that the local view is up-to-date with the RSpec.
  • All repositories within the given RSpec and all subsequently imported RSpecs must be version controlled.
    I.e. the ‘rcs’ attribute must be used for all \ and \ element or acannot be omitted.
  • All repositories must be specified with an exact revision.
    I.e. the ‘rev’ attribute of \ must specify an exact revision, not ‘HEAD’, ‘LATEST’ etc.
  • The RSpec itself acting as a baseline definition must be version controlled and used through an exact revision.
    The RSpec repository URL and revision are (in combination) the identifier of the baseline.