[cvsnt] Sandbox within a Sandbox
dzielke at aep.com
dzielke at aep.com
Fri Apr 29 13:39:18 BST 2005
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.
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
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