I have the following structure on the Perforce server:
MyDepot
+ MyProject
+ MySubProject
+ trunk
+ ... trunk folders/files ...
I have my Eclipse workspace for MySubProject
in:
C:\Users\<my username>\Documents\eclipse.wkspcs\MySubProject
If I get the latest revision with a Perforce workspace of:
C:\Users\<my username>\Documents\eclipse.wkspcs\MySubProject
I get:
C:\Users\<my username>\Documents\eclipse.wkspcs\MySubProject\
+ MyDepot
+ MyProject
+ MySubProject
+ trunk
+ ... trunk folders/files ...
I'd prefer:
C:\Users\<my username>\Documents\eclipse.wkspcs\MySubProject\
+ ... trunk folders/files ...
Can I achieve this and if, how?
I found the P4V manual page Defining a Workspace View but it doesn't seem to cover what I want. (There's a garbled sentence under point 2. but this isn't essential in this respect, is it?)
I'm not seeing a garbled sentence under point 2, so try this via the command line:
p4 client
Change the root line to:
Root: C:\Users\<my username>\Documents\eclipse.wkspcs\MySubProject\
Change the View to:
View:
//MyDepot/MyProject/MySubProject/trunk/... //<myclient>/...
(Note: mapping needs to be indented and on the line before "View:")