[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to compose a new module out of dirs in other modules !
From: |
Arno Schuring |
Subject: |
Re: How to compose a new module out of dirs in other modules ! |
Date: |
Thu, 11 Mar 2004 23:00:26 +0100 |
The use of ampersand modules is half the solution. The other half is
http://www.cvshome.org/docs/manual/cvs-1.11.14/cvs_18.html#SEC162
(or at least that's how I solved it. If there's a nicer/cleaner way, please
do tell)
You can create aliases for your other dirs, and add a -d flag in the modules
file.
ModuleNEW &newdir1 &newdir2
newdir1 -d Test/dir11 moduleSrc/dir1/dir11
etc.
One (slightly ugly, though perfectly as-designed) added feature is that cvs
allows you to checkout newdir1 also as a separate module. If you're running
a cvs server for multiple users, you might want to mark the extra modules
with a '_' for example, and ask your users not to check out modules starting
with '_' - though there's no harm when they do.
hth,
Arno
np: The Police - Message In A Bottle
----- Original Message -----
From: "Peter Biechele" <address@hidden>
To: <address@hidden>
Sent: Tuesday, March 09, 2004 10:49 AM
Subject: How to compose a new module out of dirs in other modules !
I have the following problem:
I have a project which contains many dirs and subdirs.
Now I want to compose a new module containing some arbitrary subdirs in
different dir levels to a new module.
BUT the dirs in the new module should be also in different levels.
E.g. (I checkout moduleSrc and see)
moduleSrc/dir1
moduleSrc/dir2
moduleSrc/dir1/dir11
I want to have: (when I checkout moduleNEW)
moduleNEW/Test/dir11 (ampersand module of moduleSrc/dir1/dir11)
moduleNEW/oneDir/twoDir/threeDir/dir2 (ampersand module of moduleSrc/dir2)
How can I accomplish this ??
If i use ampersand modules I can not tell the new path in the new module!!
Thank you for any help.
Peter Biechele
#####################################################
Dr. Peter Biechele, E-Mail: address@hidden
_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs