Clearcase Multiple Vobs

I have a clear case config spec which creates a snapshot from multiple vobs and muiltple projects within that vob.

SnapRoot
|
--Vob 1
     |
     --Project 1
     |     |
     |     --Source
     --Project 2
          I
          --Source

--Vob 2
     |
     --Project 3
     |     I
     |     --Source
     --Project 4
          I
          --Source



When I am asked to configure this in TC Im not sure how to make this work


I set my Cleacase view path to SnapRoot no problem.

Then TC asks me for "Relative Path with the view". which is documented as "Relative path to project sources within the specified view."
but its not allowed to be the Root.... err so what do I put, Does it accept multiple entries, seperated in some way?

Can someone help,  I just dont get it.

Nick.

0
7 comments
Avatar
Permanently deleted user

Hello,

Unfortunately, now "Relative Path within the view" field is not allowed to be the root. You should specify at least the VOB name.

But you can create two VCS roots for you configuration:

VCS Root 1:

ClearCase View Path: "<SnapRoot path>"
Relative Path Within The View : "Vob 1"

VCS Root 2:

ClearCase View Path: "<SnapRoot path>"
Relative Path Within The View : "Vob 2"

Good luck!

0
Avatar
Permanently deleted user

Thanks I will try that,
Can I assume each folder, will be purged individually?

0
Avatar
Permanently deleted user

I tried this, but the structure of the source code returned to the build agent is not the same as retrieving the view in cleacase.
The Snapshot looks like this.

SnapRoot
|
--Vob 1
     |
     --Project 1
     |     |
     |     --Source
     --Project 2
          I
          --Source

--Vob 2
     |
     --Project 3
     |     I
     |     --Source
     --Project 4
          I
          --Source


The source downloaded in TC looks like this...

TCSourceRoot
|
--Project 1
     |     --Source
--Project 2
     I
     --Source

--Project 3
     |
      --Source
--Project 4
     I
      --Source

This breaks the build script.

Got any bright ideas.

Attached config spec



Attachment(s):
FOREFRONT_1.4.15.txt.zip
0
Avatar
Permanently deleted user

You should add a checkout rule "+:.=>Vob 1" to the first VCS root and a checkout rule "+:.=>Vob 2" to the second.

0
Avatar
Permanently deleted user

Hey thanks ,

I will try this.

0
Avatar
Permanently deleted user

One Day later still waiting for the result.   FOR GOODNESS SAKE!

0
Avatar
Permanently deleted user

Please see http://youtrack.jetbrains.net/issue/TW-10525 for further discussion.

Kind regards,
Marina

0

Please sign in to leave a comment.