Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (http://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   How to get source files from AccuRev on your local PC? (http://www.kinook.com/Forum/showthread.php?t=3585)

abcdetech 04-30-2008 02:23 PM

How to get source files from AccuRev on your local PC?
 
I need to get all source files (VS2005 projects) from AccuRev into my local PC, build them, post on the network.

I've got stuck on the step with AccuRev.

There are a lot of samples regarding other source controls but nothing about AccuRev.

Would someone please post an example how to get a source from AccuRev.

I didn't have any problems with getting the files from VSS but with AccuRev no luck.

thanks

kinook 04-30-2008 04:16 PM

The VBP AccuRev action is a pretty thin wrapper around the AccuRev CLI program. You may need to consult AccuRev_User_CLI.pdf from the AccuRev documentation to use it.

abcdetech 05-01-2008 01:05 PM

Okay, the DOS command for AccuRev which I want to automate using the VBP is:

"accurev mkws -w gizmo_bugfix -b gizmo1.1 -l /home/jsmith/ws/test"

My question is, where in the AccuREv Step Properties GUI /step do I enter the following my parameters for the DOS command shown above?

In othe words where do I put "-w gizmo_bugfix -b gizmo1.1 -l /home/jsmith/ws/test"?

There are plenty of tabs - Flags, Options, etc..... and it is not clear and not well described in your documentation which control is for what.

kinook 05-01-2008 01:57 PM

There are not currently dedicated fields for those flags -- you would need to put them in 'Additional command-line options' on the Options tab. We'll add to our list to update the AccuRev action for the missing parameters.

HaroldOlsen 12-12-2008 02:29 PM

The command you want to have scripted by the Accurev get source control step is POP. Unfortunately VBP has a bug in its Accurev CLI creation and does not format the command properly. You need to write your own POP step until they fix it (timeframe??). The format is
Accurev Pop -R -v %mSCCPath% -L %mArena% \.\%mSCCProj%
where mSCCPath is the stream name, mArena is the topmost folder path, and mSCCProj is a subfolder within the hierarchy. For example:
Accurev Pop -R -v Release_Candidate -L F:\Build_Top \.\IOSubsys/Disk
or for the whole stream:
Accurev Pop -R -v Release_Candidate -L F:\Build_Top \.\

kinook 12-15-2008 05:29 PM

In VBP v7, this step:


pop
\.\IOSubsys/Disk
F:\Build_Top
-1
-1
Release_Candidate
1
AccuRev



will produce a command of

accurev pop -R -v Release_Candidate -L F:\Build_Top \.\IOSubsys/Disk


All times are GMT -5. The time now is 04:53 AM.


Copyright 1999-2019 Kinook Software, Inc.