Have you looked at the modules file in CVSROOT? If you have a top-level directory "main_module" and when people check out main_module you want them to also get the directory bar from foo1 (but placed in main_module/src/bar1) and the directory bar from foo2 (but placed in main_module/src/bar2), then the following lines create aliases for the two "extra" directories, also renaming these extra directories so they fit in the main_module subdirectory "src".
alias1 -d src/bar1 foo1/bar alias2 -d src/bar2 foo2/bar mymodule main_module &alias1 &alias2 Works for me with recent versions of CVS. Hope this helps. ~Matt > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Dean Do > Sent: Friday, January 28, 2005 2:28 PM > To: info-cvs@gnu.org > Subject: RE: Sharing Common Files > > Thanks for the response, Todd, but this will not work for us > since we do dev > on Wins PC. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Todd Denniston > Sent: Friday, January 28, 2005 1:36 PM > To: Dean Do > Cc: info-cvs@gnu.org > Subject: Re: Sharing Common Files > > Dean Do wrote: > > > > Hi, > > > > Is there a way to setup in CVS to be able to share common > files [not > > directories] between 2 trees? Here's an example... > > > > proj_1_tree > > | > > |- file1 > > |- file2 > > |- file3 > > > > proj_2_tree > > | > > |- dir1 > > |- file1 > > |- dir2 > > |- file2 > > |- file3 > > > > ... files1/2/3 need to be the identical in both trees, > however, they > > reside in different directories for each tree. > > > > Please advise if there's any way to accomplish this. > > > > Thanks, > > Dean > > > assuming unix, > in proj_2_tree > | > |- dir1 > |- file1 softlink to ../proj_1_tree/file1 > |- dir2 > |- file2 softlink to ../proj_1_tree/file2 > |- file3 softlink to ../proj_1_tree/file3 > |- proj_1_tree > | > |- file1 > |- file2 > |- file3 > > The softlinks are created by make from a Makefile, or some > other scripting > language. > -- > Todd Denniston > Crane Division, Naval Surface Warfare Center (NSWC Crane) > Harnessing the > Power of Technology for the Warfighter > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.837 / Virus Database: 570 - Release Date: 1/17/2005 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.837 / Virus Database: 570 - Release Date: 1/17/2005 > > > > > _______________________________________________ > Info-cvs mailing list > Info-cvs@gnu.org > http://lists.gnu.org/mailman/listinfo/info-cvs > _______________________________________________ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs