Opened 18 years ago

Closed 18 years ago

#32 closed Feature request (fixed)

Allow project overrides via CMTPROJECTPATH

Reported by: garonne <garonne@…> Owned by: arnault
Priority: normal Milestone:
Component: a. Usage Version:
Severity: normal Keywords:
Cc: OS: All
If Other, could you precise: Experiment: Atlas
If Other, could you precise:
Stack trace:
Steps to reproduce:

Description

It would be useful to be able to override a project version using CMTPROJECTPATH in the same way as a package version can be overridden in CMPATH. This would facilitate testing of new versions of projects by putting the new version (e.g. AtlasCore/2.3.0) in a location referenced by an earlier CMTPROJECTPATH component.

Change History (1)

comment:1 Changed 18 years ago by garonne

Experiment: Atlas
OS: All
Resolution: fixed
Status: newclosed

If you use wilcard for project dependencies (see ticket #29) , this is actually true.

Let consider the the project A use project B with the following settings:

> ls
<project_area>/A/cmt 
<project_area>/A/cmt/project.cmt
...
<project_area>/B/v1/cmt
<project_area>/B/v1/cmt/project.cmt
...
<project_area>/Ext/B/v2/cmt
<project_area>/Ext/B/v2/cmt/project.cmt
...
>echo $CMTPROJECTPATH
<project_area>/Ext:<project_area>

By specifing use v* within A/cmt/project.cmt, we obtain:

> cmt show projects
...
  B (in <project_area>/Ext/B/v2) P=...
...

By specifing use v1.* within A/cmt/project.cmt, we obtain:

> cmt show projects
...
  B (in <project_area>/B/v1) P=...
...

So i think we can consider this one is closed.

Note: See TracTickets for help on using tickets.