UD6 Option Pack for UD6 2.1 enables the automatic creation of a Makefile. With the included GNU MAKE (or Microsoft NMAKE) you can automatically re-build components when a related object changes.
When an include proc, entity or field changes it is possible to re-build only the affected components using the automatically generated MAKEFILE and either GNU MAKE (included) or Microsoft NMAKE.
UD6 Option Pack attempts to automatically determine the directories that the compiled forms are stored in by examining the ASN file. Alternatively the ASN filename can be specified with the ASNFILE setting in the USYS$UD6_PARAMS.
The makefile is created or updated every time that the UFORM record is written. Therefore every time that a developer modifies a form (and potentially changes the dependencies) the Makefile is re-calculated. This also means that the Makefile must be modifiable. It is wise to keep the Makefile "checked" in, but writable.
If the makefile exists but cannot be opened for write, then UD6 will wait until it is available. This behaviour can be controlled with the
makefile nowait setting.
GNU Make is included free with UD6 2.1.05. It is a command line utility that checks that the compiled files are newer than the source files.
make -f makefile.mak
The command that is used to start the IDF can be changed my editing the makefile with NOTEPAD or any text editor. By default (on windows) the command used to start the IDF when the Makefile was first written is used. On Unix the $idf logical is used.
The makefile uses the March Hare supplied utility runidf.exe to run the IDF on windows. This ensures that the IDF.EXE returns the correct status code to the build manager. If there is an error, Read more about Uniface Version Control
Read more about Searching and Replacing using XMLGREP
|$Revision$ $Date$||[go to top]|