>>Does somebody have a routine that finds differences between two versions of a class? Maybe it would do a fc for each method and present reports.
>>
>>TIA,
>>
>>Alex
>
>Here is a low-technology method that you can use in an emergency. It works for most file types.
>
>Use the program SCCText.prg to convert both versions of your class library (or form, etc.) to a text version. This program is commonly used if you integrate with Visual SourceSafe.
>
>Open one of them in MS-Word, and give the command to compare files. Word will ask you for the other file, and show differences: lines moved, erased and added.
>
>One problem is that SCCText doesn't sort methods - it uses the physical order of the methods, in the VCX file. Some programmers have made a modified version of SCCText.prg, to sort methods before generating the text - perhaps you can find what the necessary commands are, by searching the message area.
Gracias Hilmar,
I don't have the SCCText but can use the class browser. But I didn't know about a word comand to compare files! What a find. I do have a file compare utility ahich may be better in this case.
Glen Domericki indicates that his approach in SourceCompare is to sort the methods and probably properties alphabetically. Nice solution.
Thanks again,
Alex
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement