1
Recovering the build process after adding fields to the engine.
3
The following steps were used in Win32, but the idea may apply to other platforms
4
as well. This solution implies manual intervention. Permanent changes were
5
suggested in fb-devel that allow an automated build to succeed.
7
- Start the current build's executable (let's assume the debug server).
8
- Modify preprocess.bat as instructed inside the file (look for "CVC -" comments).
9
The problem lies mainly with backup.epp and restore.epp, both part of gbak.
10
- Run make_boot for release and make_all for release. This step must catch
11
compilation errors. The idea is to avoid the build process getting rid of the
12
current debug server version. If only build_all has problems, keep running
13
preprocess.bat after your changes and then build_all until everything compiles.
14
- Run make_boot for debug.
15
- Shutdown the server.
16
- Run make_all for debug.
17
- Start the newly compiled server instance (debug or release, although
18
debug will catch more problems. We'll assume the debug server).
19
- Run prepare with the path pointing to the running server's root dir. Now you
20
have the build support databases (gen/dbs) with the new structure.
21
- Revert preprocess.bat to the normal state (undo the temporary changes).
22
- Run make_boot for release and make_all for release.
23
- Run make_boot for debug.
24
- Shutdown the server.
25
- Run make_all for debug.
27
You should have the server, the utilities and the support databases with the
28
changed structure. Now both the release and debug versions are upgraded.