Kenneth, I think you are trying to do the same thing I�m doing. Take a look at "Module aliases" thread, specially the email I sent yesterday. Let me and xyzzy know if it works because I�ve tested Jim.Hyslop's solution but it doesn't work.
Thanks in advance, -------------------------- Marcelo Carvalho Fernandes Smart Tech Consulting www.smartech.com.br Tel:(55)21-2532-6335 > -----Mensagem original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] nome de Kenneth > Dombrowski > Enviada em: quarta-feira, 5 de maio de 2004 00:46 > Para: [EMAIL PROTECTED] > Assunto: More module aliases > > > > OK, I've been following along for a couple of days, but I'm still stuck on > this. I have a web project which encompasses a few portals; there are > essentially 4 sites, each of which uses some common code, & some > private code. > > I've been keeping the 4 sites separately in CVS for a few months now, but > updates require too much time diffing the common code between the 4, so I > thought I could break out the shared bits according to > functionality & include > them where needed as &modules > > None of the 4 pieces are installed in the server's webroot; in > fact all four > must be exactly /one_dir down. The name of that directory is not > important. > This was designed to be able to install them all right next to > each other, all > 4 'live' sites + usually 4 more 'dev' sites. > > my current CVSROOT/modules file looks something like this: > > > # www_site is a literal/physical module name, so not aliased > devsite -d dev_site www_site > # www_pro is a literal/physical module name, so not aliased > devpro -d dev_pro www_pro > # www_admin is a literal/physical module name, so not aliased > devadmin -d dev_admin www_admin > > # developer data to check out with dev_* sites > devdev -d dev_site/_developer _developer > devpro -d dev_pro/_developer _developer > devadmin -d dev_admin/_developer _developer > > # shared functions > funcs -d www_site/functions functions > devfuncs -d dev_site/functions functions > profuncs -d www_pro/functions functions > devprofuncs -d dev_pro/functions functions > > # shared images... > # shared shopping cart... > # shared templates... > > # and then at the end I'm trying to string them together.. > # > > www_site -a www_site &funcs &images &cart &tmpl > dev_site -a &devsite &devdev &devfuncs &devimages &devcart &devtmpl > > > it doesn't work. 'cvs checkout www_site' checks out only the > physical/literal 'www_site' module. I've tried aliasing it so it's not > using the same name, & renaming & re-importing the files: > > # replacing the 1st comment of my ex. with > livesite -d www_site www_root > # & the www_site line with > www_site -a &livesite &funcs &images &cart &tmpl > # with & without the "-a" > > > all I can get is this: > > [EMAIL PROTECTED] www]$ cvs checkout -d testsite www_site > cvs server: cannot find module `www_site' - ignored > cvs [checkout aborted]: cannot expand modules > [EMAIL PROTECTED] www]$ cvs -nt checkout -d testsite www_site > -> main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home2/cvs/uy_mod > -> Connecting to localhost(127.0.0.1):2401 > S-> do_module (www_site, Updating, , ) > cvs server: cannot find module `www_site' - ignored > cvs [checkout aborted]: cannot expand modules > -> Lock_Cleanup() > [EMAIL PROTECTED] www]$ cvs -nt checkout -d testpro www_pro > -> main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home2/cvs/uy_mod > -> Connecting to localhost(127.0.0.1):2401 > S-> do_module (www_pro, Updating, , ) > cvs server: cannot find module `www_pro' - ignored > cvs [checkout aborted]: cannot expand modules > -> Lock_Cleanup() > [EMAIL PROTECTED] www]$ cvs checkout -d testpro www_pro > cvs server: cannot find module `www_pro' - ignored > cvs [checkout aborted]: cannot expand modules > [EMAIL PROTECTED] www]$ > > > Thanks for reading! > Kenneth > > > > > _______________________________________________ > Info-cvs mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/info-cvs > _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
