by Anders Íhrt
DefGenerator can create .def and .fd files automatically.
In addition, it also strips time/date and record count from the .def files. This way it is much easier to compare the files between the development and deployment environment using software compare tools such as for example winmerge
, beyond compare
or araxis merge
In short this is one of those tools which will make your life as a developer easier.
Get_Attribute DF_FILELIST_NAME To sFilelist
Move (Replace("Data\Filelist.cfg", sFilelist, "DDSrc")) To sDirectory
Move (ClxCreate_ClcDefGenerator()) To hoDefGenerator
Send GenerateDefs Of hoDefGenerator sDirectory DF_AUX_FILE_FD
Send GenerateDefs Of hoDefGenerator sDirectory DF_AUX_FILE_DEF
Send StripDirectory Of hoDefGenerator sDirectory
Send Destroy Of hoDefGenerator