[cvsnt] Sandbox within a Sandbox
dzielke at aep.com
dzielke at aep.com
Fri Apr 29 13:52:09 BST 2005
Whoops! I made a typo.
That alias should have been like this based on your example....
my_reusable_code mywebsite/my_reusable_code
mywebsite mywebsite my_reusable_code
Thanks,
Don Zielke
American Electric Power
Direct (614) 583-6337
Audinet 8-220-6337
Email dzielke (at) aep.com
---
KForce Professional Staffing
501 W. Schrock Road Suite 207
Westerville, OH 43081
dzielke at aep.com
Sent by: cvsnt-bounces at cvsnt.org
04/29/2005 08:39 AM
To: Scott Teglasi <steglasi at subpacket.com>
cc: cvsnt-bounces at cvsnt.org, cvsnt at cvsnt.org
Subject: Re: [cvsnt] Sandbox within a Sandbox
Yes you can! I did this with aliases in the modules file. I set them up
like this (using your names as examples)
my_reusable_code my_reusable_code
mywebsite mywebsite my_reusable_code
That way you can checkout the reusable code alone or everything by using
the mywebsite alias. Read over the module aliasing topic in the Essential
CVS book by Jennifer Vesperman. She does a nice job explaining modules &
aliases.
Scott Teglasi <steglasi at subpacket.com>
Sent by: cvsnt-bounces at cvsnt.org
04/28/2005 08:46 PM
To: cvsnt at cvsnt.org
cc:
Subject: [cvsnt] Sandbox within a Sandbox
Hi,
I have a module in CVS that contains code that I re-use in a number of
different websites. It resides in its own directory in a site's
webtree, essentially self-contained.
However, I want to be able to put the rest of a site under its own
module as well. Is it possible to accomplish having a sandbox within a
sandbox, but are part of separate modules?
To illustrate my point, here's an example site tree:
mywebsite/ (Module 1 in CVS)
+-- css/ (Module 1)
+-- images/ (Module 1)
+-- my_reusable_code/ (Module 2 in CVS)
+-- a_directory/ (Module 2)
+-- my_php_script.php (Module 2)
+--default.php (Module 1)
Any suggestions would be greatly appreciated.
Thanks!
Scotty
More information about the cvsnt
mailing list