on 4/13/00 7:23 PM, Chris Cameron at [EMAIL PROTECTED] wrote:
> We use the '&' module feature to do this type of thing, along with the -d
> option in the modules file.
Thanks, that was very helpful. One odd thing though. I was able to get the
results I wanted by referring directly to a subdir of a repository instead
of using an ampersand. Here is my situation.
I have a console app in a repository which contains a source directory:
ProjectA/Console_App/src
I have another application which needs the source from the console
application but has its own source directory:
ProjectB/Other_App/src
I was able to get the source code from the console app into the directory
Other_App by putting the following into the modules file:
PA_src -d ProjectB/Other_App/PAsrc ProjectA/Console_App/src
PBdir &ProjectB &PA_src
The subsequent checkout actually managed to create directory PAsrc in the
ProjectB directory along with all the source as:
$HOME/PBdir/ProjectB/Other_App/PAsrc
Cool! Just what I wanted. However if I make PA_src use an ampersand
reference then it fails:
CApp_src ProjectA/Console_App/src
PA_src -d ProjectB/Other_App/PAsrc &CApp_src
PBdir &ProjectB &PA_src
It fails with:
cvs checkout: modules file missing directory for module PA_src
Which I find odd. Maybe I'm missing something here. Maybe CApp_src should be
an alias?
Anyway, thanks for the help, it definately made the grade.
--William K. Gibson
1stDesk Systems
[EMAIL PROTECTED]