[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: |
Peter Biechele |
Subject: |
Re: How to compose a new module out of dirs in other modules ! |
Date: |
Fri, 12 Mar 2004 16:02:04 +0100 |
User-agent: |
KMail/1.4.3 |
Thank You VERS MUCH for all the infos and suggestions !!!
The solutions using "-d" was the one I was looking for. I completly missed
that option in the Doc !
BUT there is one "strange behaviour", which made it difficult for me to
realize whats going on:
I have checked out a module.
I add a ampersand module to that module in the CVSROOT files.
Then i do a "cvs update -dP" in the checked out module and cvs did NOT
checkout the newly added ampersand module !
So I have to release the old checked out module and checkout again the
complete module.
So it seems that a checked out module doesnt realize changes to the modules
definitions.
Thanks again for the help !
Am Freitag, 12. März 2004 09:41 schrieb Bettina Ball:
> On Friday 12 March 2004 04:37, Peter Biechele wrote:
> > 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!!
>
> You can use the "-d" option when setting up the ampersand modules in
> the modules file (see e.g.
> http://www.cvshome.org/docs/manual/cvs-1.11.14/cvs_18.html#SEC162).
>
> For your example above you could specify two ampersand modules
> moduleA -d moduleNEW/Test/dir11 moduleSrc/dir1/dir11
> moduleB -d moduleNEW/oneDir/twoDir/threeDir/dir2 moduleSrc/dir2
>
> and combine those to a module
> moduleNEW &moduleA &moduleB
>
> However, I'm not sure if you can specify a path with several
> (non-existing) subdirs in the -d option. I've never tried it that
> way.
>
> HTH,
>
> Bettina Ball
Peter Biechele
#####################################################
Dr. Peter Biechele, E-Mail: address@hidden