Difference between revisions of "CDDHowtoRollARelease"
(→How to roll a release on Windows) |
(→List of CDD specific files) |
||
Line 2: | Line 2: | ||
== List of CDD specific files == | == List of CDD specific files == | ||
The following files have to be overwritten or added to a stock EiffelStudio release: | The following files have to be overwritten or added to a stock EiffelStudio release: | ||
− | * | + | * ec(.exe) |
− | * | + | * Src/library/base/ise/support/cdd |
− | * | + | * Delivery/studio/help/defaults |
− | * | + | * Delivery/studio/bitmaps/png/16x16.png |
− | * | + | * Src/examples/cdd |
+ | * Delivery/studio/bitmaps/png/splash_shadow.png | ||
+ | * Delivery/studio/bitmaps/png/splash.png | ||
== How to roll a release on Windows == | == How to roll a release on Windows == |
Revision as of 11:01, 4 February 2008
List of CDD specific files
The following files have to be overwritten or added to a stock EiffelStudio release:
- ec(.exe)
- Src/library/base/ise/support/cdd
- Delivery/studio/help/defaults
- Delivery/studio/bitmaps/png/16x16.png
- Src/examples/cdd
- Delivery/studio/bitmaps/png/splash_shadow.png
- Delivery/studio/bitmaps/png/splash.png
How to roll a release on Windows
- prepare some directory <INSTALL_DIR> like this:
- create 3 subdirectories <INSTALL_DIR>/EiffelStudio, <INSTALL_DIR>/gcc, <INSTALL_DIR>/releases. Fill them according to the following description
- [<INSTALL_DIR>/EiffelStudio] has to contain a complete delivery without the ec.exe binaries. Without a working delivery script, this can be achieved by "patching" an official installation:
- copy the contents of the installation directory of a fresh offcial installation into <INSTALL_DIR>/EiffelStudio (fresh = NO EIFGENs produced. To be sure, uninstall the official version if alrady existing, manually delete the remains in the installation directory, and reinstall it WITHOUT building any precompilations)
- Remove the ec.exe from <INSTALL_DIR>/EiffelStudio/studio/spec/windows/bin
- Replace/Add the cdd specific files (see list above). Watch out for the proper place to add/replace them (the above list is svn-specific)
- [<INSTALL_DIR>/gcc] needs to contain content of <svn-eiffel-branch>/free_add_ons/gcc
- [<INSTALL_DIR>/releases] needs to contain the ec.exe binaries (the cdd versions of course)
- <INSTALL_DIR>/releases/gpl_version/ needs to contain ec.exe
- <INSTALL_DIR>/releases/enterprise_version/ needs to contain ec.exe (take the same ec.exe, it's a dummy for using the scripts later on)
- [<INSTALL_DIR>/EiffelStudio] has to contain a complete delivery without the ec.exe binaries. Without a working delivery script, this can be achieved by "patching" an official installation:
- create 3 subdirectories <INSTALL_DIR>/EiffelStudio, <INSTALL_DIR>/gcc, <INSTALL_DIR>/releases. Fill them according to the following description
- let env variable %INSTALL_DIR% point to the <INSTALL_DIR>
- let env variable %INIT_DIR% point to the <svn-eiffel-branch>/Delivery/scripts/windows folder
- finalize the "hallow" tool (<svn-eiffel-branch>/Src/tools/hallow/hallow.ecf)
- create if not exists directory %INIT_DIR%/install/bin
- copy content of <svn-eiffel-branch>/Src/tools/hallow/EIFGENs/hallow/F_code to INIT_DIR/install/bin
- create if not exists directory %INIT_DIR%/install/binaries/x86
- get a proper setup.dll (from manus probably, or build yourself, instructions for this will be added soon) and put it into %INIT_DIR%/install/binaries/x86/
- start command line, go to %INIT_DIR%/install/content/eiffelstudio and run:
- nmake /nologo clean
- nmake /nologo
- nmake /nologo gpl_x86
- wait some minutes .... and pray :-)