|
Warning: Regenerate Build ScriptBeginning with Visual Prolog 5.2, the 32-bit Windows VDE correctly handles filenames and directory names containing blank spaces. That are, a name of Visual Prolog root directory, directory- and filenames of projects, location of external tools. To avoid possible ambiguity in interpretation of command lines with filenames containing blank spaces, such filenames should be surrounded with quotation marks. To assurance the correct handling of all filenames used in VDE's build scripts, the 32-bit Windows VDE in Visual Prolog 5.2 surround all filenames in the project build scripts with quotation marks. The project build scripts are stored in a project (.VPR or .PRJ) file. When Visual Prolog.5.2 VDE generates a new project, it generates build scripts with filenames surrounded by quotation marks. However, the VDE of previous versions did not use this rule. Therefore, filenames in build scripts generated by old VDE versions are not surrounded by quotation marks. When the VDE opens a project file, it reads from the file the VDE version that made the last modification of the project file. If the stored VDE version is Visual Prolog 5.2, then the VDE loads this project without any warning. Otherwise, if the stored VDE version is not up to VIP v.5.2, then the format of stored build scripts does not guarantee correct handling of filenames with blank spaces. Therefore, the VDE displays the following "Warning!" dialog: In this dialog, you have three choices:
If you are sure that your project does not use (and never will use) filenames with blank spaces, then you can select "Do not Update". In this case, it will be only your responsibility, that filenames of all source files, initialization files, libraries, and other project modules do not contain blank spaces. You should also guarantee that the name of your Visual Prolog root directory and filenames of all external tools used to build this project do not contain blank spaces. Even in this case, we do not recommend you choose "Do not Update", because new build script format supports several new VDE features. For example, a possibility to specify the stack size for 32-bit Windows applications from the VDE. If your project uses filenames with blank spaces, it is necessary to update the project build scripts. We recommend you do this automatically selecting Update Scripts. Unfortunately, the VDE is not clever enough to guaranty the correct updating of the user manual corrections done in the existing build scripts. Therefore, the VDE just generates the default build scripts according to your selections in the Application Expert stored in the project file. Hence, after accomplishing of Update Scripts all your manual corrections done in the existing build scripts will be lost in the generated build scripts. Therefore, if the project build scripts stored in the project file contain manual corrections that you wish to use in the regenerated scripts, we recommend you do the following:
|