Navigation  without Java Scripts

Warning: Regenerate Build  Script

Beginning 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:

Save Scripts  The existing build scripts will be saved to a text file.
Update Scripts  New build scripts with default settings correspondent to the project selections reflected in the Application Expert will be generated.
 Do not Update The project build script won't be updated, a new VDE version will be written into the project file.
Therefore,  this dialog will not be displayed for this project file, while the subsequent openings by the VDE).

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:

Select Save Scripts and save your existing build scripts to the specified text file. (For instance, OLD_SCRIPT.TXT.)
Select Update Scripts and generate the default build scripts in the new format.
Select Options | Project | Make Options | Symbols to open the "Symbols:" editor. In this editor, you will be able to edit the generated default build script symbols.
Open the text file (OLD_SCRIPT.TXT) containing the saved build scripts with your manual corrections.
Compare these 2 versions of build script symbols and copy the required changes from OLD_SCRIPT.TXT into the "Symbols:" editor window. Remember that you should surround copied filenames by quotation marks.
Close (with "Save") the "Symbols:" editor window.
Repeat these operations with Options | Project | Make Options | Rules and Options | Project | Make Options | Build Script.