[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Sharing Common Files
From: |
Dean Do |
Subject: |
RE: Sharing Common Files |
Date: |
Fri, 28 Jan 2005 14:27:45 -0800 |
Thanks for the response, Todd, but this will not work for us since we do dev
on Wins PC.
-----Original Message-----
From: address@hidden [mailto:address@hidden On
Behalf Of Todd Denniston
Sent: Friday, January 28, 2005 1:36 PM
To: Dean Do
Cc: address@hidden
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