[cvsnt] Re: Storing Shared Web Assets in CVS

Andreas Tscharner andreas.tscharner at metromec.ch
Mon Jul 17 06:53:29 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Eric Everman wrote:

[snip]
> ======= Typical web project CVS contents ====================
> /project_root
>     /public_html
>         -some project specific files...
>         - [Right here is where the tabbed UI files need to be]  
> <------------
> ========================================================
> 

[snip]
> directory structure of a versioned project?  Is it possible to somehow 
> 'nest' one CVSNT project in another?  Suggestions please...

Suggestion:
Have a look at the 'modules' file.

Yes, it is possible to create a module with your common files and 
'mount' that module as part of another module. I suppose for your 
example, the modules file should have the following entries:

publicHTML      -d public_html   public_html &common
project_root    -d project_root  project_root &publicHTML

where 'common' is the module containing the common files, public_html 
contains the files that are in that directory without the common files, 
and project_root contains all files except public_html (and therefore 
common is also excluded).
Note that common, public_html and project_root are separate modules.

For further information, have a look at the "modules" file section in 
the manual (look for so called ampersand modules).
You may want to try modules2, it is more flexible, but it may not work 
in every case.

Best regards
	Andreas
-- 
Andreas Tscharner                          andreas.tscharner at metromec.ch
------------------------------------------------------------------------
And the beast shall come forth surrounded by a roiling cloud of
vengeance. The house of the unbelievers shall be razed and they shall be
scorched to the earth. Their tags shall blink until the end of days.
                                             -- The Book of Mozilla 12:10



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook