Changes between Initial Version and Version 1 of Ticket #12


Ignore:
Timestamp:
Oct 11, 2005, 11:15:49 AM (20 years ago)
Author:
arnault
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12 – Description

    initial v1  
    3939or.roques@free.fr
    4040
     41
     42Answer:
     43
     44In fact, there is no way to force the creation of subdirectories at "cmt create ..." time.
     45
     46The "branches" statement - as it is today - is useful in the following use case:
     47
     48o A subdirectory is only needed either at run time or at build time (for instance it will receive temporary files)
     49o This subdirectory is not part of the sources themselves (and it's NOT in CVS)
     50o Thus it must be "recreated" when the sources are eg checked out from CVS
     51
     52
     53This indeed does not cover your use case which is to systematically create new packages with a given predefined structure.
     54
     55Probably one good example is when a convention exists to provide include files in the subdirectory
     56
     57  ../<package>
     58
     59This would be useful to enforce this convention at "cmt create ..." time.
     60
     61I think your suggestion to describe this convention in the project file is a good idea. One implementation could be to accept the "branches" statement at the project file level, and give it the semantics you suggest.
     62
     63Let me add this to some next release of CMT.
     64
     65Thanks anyway for this point and the suggestion.
     66
     67Regards,
     68Christian
     69