Re: Trouble with modules file syntax

Larry Jones <[email protected]> Mon, 11 Jun 2012 21:50:28 -0400
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Lord Bitnerd of Pentium writes:
> 
> I have library source, which lives in current directory "XXlib" in the 
> repository (as in "cvs checkout XXlib").  I've developed it with some test code 
> that lives at
> 
>    DevCode/PrimeSieve/SieveCalc
> 
> and I want the XXlib module to show up (as an alias) at
> 
>    DevCode/PrimeSieve/XXlib
> 
> In other words, when I "cvs checkout DevCode", I want to see SieveCalc and XXlib 
> modules under DevCode/PrimeSieve.

That's a tricky thing to do, it's much simpler if you add the library at
the top level instead (i.e., DevCode/XXlib).  That's just:

	DevCode DevCode &XXlib

If you really want it at a lower level, you have to define a special
module for it that specifies the directory to check out into:

	DevCodeXXlib -d PrimeSieve/XXlib XXlib
	DevCode DevCode &DevCodeXXlib
-- 
Larry Jones

Mom would be a lot more fun if she was a little more gullible. -- Calvin