Hi Lutz:
>I'm thinking to move to git (what I use for other problems). Do I understand that you generate one large file out of each vcx / scx etc?
Yes, one VCX => one PRG-style file (as if you code this VCX library as a PRG library)
>Would it be possible to generate per class like VCXName.ClassName.prg? (And create vcx by VCXName) Then it would be greate with git - very easy to trace changes and collaborate on class level. Also smaller files to merge.
>
No, sorry, it is not possible to do this separation, because this would require a hard and costly redisign of FoxBin2Prg, and because it is production-ready and many people are using with there systems (our teams included), I can't take this risk.
On the other hand I've used TwoFox which exports scx/vcx to XML in a per-file class basis, as you mention, and worked with it I can tell that it is a hell having thousands and thousands of files on the disk, that are not easy to maintain, and what is worse, if you make a mistake with some of those files you can have a corrupt library, because classes that are included in a library sometimes are designed to work together, so it is risky to maintain them separated.
The real solution for this is separating classes in different libraries, a task that you can do in 2 ways:
1) The traditional way: Using the VFP IDE (a pain)
2) Using the PRG-style version generated by FoxBin2Prg: You just copy the parts you want to another SC2/VC2 file and regenerate the binary from that. May be much faster than the other way
Regards.-
Fernando D. Bozzo
Madrid / Spain