info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing Common Files


From: Todd Denniston
Subject: Re: Sharing Common Files
Date: Fri, 28 Jan 2005 16:36:25 -0500

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]