Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SourceGear Vault and VFP
Message
From
20/11/2006 08:54:56
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01170831
Message ID:
01171145
Views:
7
Thanks Sergey. When are they created? Only when a new form is added to the project? I ask because it appears that a .vca exists for every class but an .sca exists only for forms that were created after the project was added to source control. Also, I am still trying to determine how Vault determines whether the baseline version to pass to a diff tool should be a .sca file or the backup of the actual .scx and/or .sct. It appears that if an .sca exists, it will use that for the baseline version, but if one does not exist, then it only passes the baseline filename for backup of the .scx. If vault passes a filename which is really just a backup of the .scx file, then I need to know how to determine what the filename is for the backup of the .sct as well. I cannot see any relation between the two by looking at the filenames alone. Vault knows internally what the related baseline file for the .sct is because if I rollback a form inside of Vault, but files are used and the rollback is correct. Any ideas?

New question: If scctext.prg is used because it is setup in tools, options, project, then why isn't a .vca and .sca created for every single form and class when the project is added to source control?

What is the exact purpose of the text generation tool? Is it only for file comparision using the diff/merge tool or does source control track it in any other way? I ask because if I click on diff for a class, vault passes the name of a .vca file, but if I click on diff for a form, vault only passes the name of the backup of the .scx unless a .sca exists for the form. If an .sca exists for the form in the working directory, vault appears to pass that filename instead (so far) for both the left hand file and the righthand file (right hand file is a backup numbered file name) both are .sca files.

Next question: How does source control determine whether the baseline version to use for comparision should be the .vca (for a class), .sca (for a form) or the backup of the .vcx (or .scx)?


>Hi Tracy,
>
>The SCA and VCA files are created by SCCTEXT.PRG or whateve program you specify in Tools -> Options -> Projects Tab -> Text generation
>
><snip>
>>Next question: when EXACTLY and WHY is an .sca created? It appears that an .SCA is only created when a new form is added. Is that true? Is there anyway to have vault always create a corresponding .sca file and pass that filename to the diff program for comparison? I can convert an .sca to a sct and an scx for comparison purposes as an alternative solution.
>>
>>It appears that a .vca is created for every class (vcx/vct files), but not an .sca for every form (scx/sct files).
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform