logo       

Re: How-to clone a whole project ?: msg#00236

web.mason.user

Subject: Re: How-to clone a whole project ?


On Thursday, August 28, 2003, at 04:41 PM, Oleg Bartunov wrote:

ok. Below are 4 components - /db/tmp/dhandler, /db/tmp/a.msn from 1st
component root, and /share/z/a.html, /share/z/a.msn from 2nd component root
I want to use for 'generic' applications. 'z' is a 'generic' one.
I'd love to see http://localhost/db/tmp/a.html looks as:
Project1
instead of
/z/a.msn

The way you've got it set up, it indeed won't work. It seems like you're sort of duplicating Mason's notion of component roots yourself, rather than letting Mason do any work for you.

What I mean is something like this:

comp_root => [[SPECIFIC => '/tmp/specific'],
[SHARED => '/tmp/shared']]

Assume then that you call http://localhost/a.html with components as defined below. You should see the output "Project1", not "GenericComp".

----------- /tmp/shared/dhandler -----------------
<& a.msn &>
----------- /tmp/shared/a.msn --------------------
GenericComp
----------- /tmp/specific/a.msn ------------------
Project1
--------------------------------------------------


-Ken



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise