[p4] mapping 1 area of depot to multiple areas of workspace

Edil Cadenas Edil.Cadenas at ktd-kyocera.com
Wed Oct 11 13:28:40 PDT 2006


Hi Steve,

I'm trying to create release environments where each release environment
has its own workspace.  Thus, each workspace (directory structure and
all) reflects the actual Release CD.

The way the release is configured by our release/build team is that
certain files are shared by some modules.

e.g.
	Release CD
		- OS1
			- contains OS1-specific modules
			- contains Common Modules
		- OS2
			- contains OS2-specific modules
			- contains Common Modules
		- OS3
			- contains OS3-specific modules
			- contains Common Modules
		- OS4
			- contains OS4-specific modules
			- contains Common Modules

The Common Modules are of course stored in just one location in the
depot.

This is the kind of setup that we have in Visual SourceSafe before.  And
I'm just trying to duplicate the same setup in Perforce for our
release/build team.  In VSS, the Common Modules are easily shared
through links, which also holds true for ClearCase.

But the absence of such feature in Perforce makes it difficult to create
such an environment.

Multiple workspaces won't work because each workspace/environment
represents an actual product (thus each product has its own
environment/workspace).  Having more than one workspace for each product
make it harder for our release/build team to create timely releases as
they would need to handle several workspaces for each product.


Best regards,
Edil

-----Original Message-----
From: Stephen Vance [mailto:steve at vance.com] 
Sent: Wednesday, October 11, 2006 1:01 PM
To: Edil Cadenas
Cc: perforce-user at perforce.com
Subject: Re: [p4] mapping 1 area of depot to multiple areas of workspace

Would multiple workspaces work for you? What are you really trying to 
accomplish?

Steve

Edil Cadenas wrote:
> Is it possible to map 1 area of the depot to several areas of the
> workspace?
>
> e.g.
>
>       //depot/dir1/...    //Workspace/local1/...
>
>       //depot/dir1/...    //Workspace/local2/...
>
>  
>
> I understand that the branch mechanism somehow provides a way to do
that
> but does it on the depot side.  What I would to do is to just map the
> same are of the depot to several sections of my workspace.  I tried
> using the "+" mapping but I always end up getting the second line
only.
>
>  
>
> Is what I'm trying to actually possible in Perforce?  Thanks for
> anyone's help.
>
>  
>
>  
>
> Best regards,
>
> Edil
>
>  
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   



More information about the perforce-user mailing list