Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current scctext text generator replacement
Message
From
13/10/2014 18:24:10
 
 
To
13/10/2014 15:04:40
General information
Forum:
Visual FoxPro
Category:
Source Safe Control
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01599986
Message ID:
01609279
Views:
41
It seems to work with the .exe instead of the .prg for some reason.

Separately, the routine I had previously used from Christophe to tell VFP that the individual forms/classes were under scctext did not work, I had to remove and add back each item in order to get VFP to generate using _scctext.

I still have a few issues to figure out; for example, if I check out a form, then I do a get on a previous version, it tells me the previous version has been downloaded. But actually it has not, it is still the current version.

I also still have to figure out how to get it to merge; normally VSS or SoS use diff or windiff which shows changes, but the foxbin2prg info says it can do the compare and it can also do merges.

Thanks for the help!

>Hi Tuvia:
>
>For what I can see, FoxBin2Prg is working properly, and the problem is that, somehow, it is not called from your SCM.
>
>I just ask this for cheking:
>
>In VFP's Options / Projects tab, have you selected the "Test generation" option using the right button for selecting FoxBin2Prg.prg?
>
>Have you tried using the EXE?
>
>I've tested it with SourceSafe, and is called normally. I've attached 3 screenshots, one for the VFP config with SourceSafe and 2 for use example. The 3rd capture is with the form opened and viewing differences (a new command button added)
>
>About the config (foxbin2prg.cfg file) I have copied it into VFP installation directory with foxbin2prg.exe
>The config have this inside:
>
>extension: pj2=pja
>extension: vc2=vca
>extension: sc2=sca
>extension: fr2=fra
>extension: lb2=lba
>extension: mn2=mna
>extension: db2=dba
>extension: dc2=dca
>
>(is the included content, but uncommented)
>
>
>Compare it with your config and try the same.
>
>
>>1. I set debugging on.
>>2. Initially checking in/out did not create a log file or a .vca file.
>>3. Then I did tools\foxbin2prg\foxbin2prg.prg" ) WITH "c:\your_dir\your_file.vcx". That did properly create the .vca and created a log file.
>>4. From VFP project I checked out the class library. No log or action from foxbin2prg.
>>5. I made a change to the class library.
>>6. I checked it back in.
>>7. Foxbin2prg did not do anything - no recreation of the .vca, and no log file updated.
>>8. This is the original log file from step 3, the only log file I got:
>>=============================================================================================================
>>2014-10-13T13:30:46 ---
>>2014-10-13T13:30:46 C:\PROGRAM FILES (X86)\MICROSOFT VISUAL FOXPRO 9\TOOLS\FOXBIN2\FOXBIN2PRG.FXP (EXE Version: 1.19.34)
>> tc_InputFile: c:\urt_towplus\classes\urt.vcx
>> tcType: .F.
>> tcTextName: .F.
>> tlGenText: .F.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform