Difference between revisions of "CDDHowtoRollARelease"

(How to roll a release on Windows)
Line 10: Line 10:
 
== How to roll a release on Windows ==
 
== How to roll a release on Windows ==
 
* prepare some directory <INSTALL_DIR> like this:
 
* prepare some directory <INSTALL_DIR> like this:
** INSTALL_DIR/EiffelStudio : contains the complete delivery without the ec.exe binaries (there are several ways to do this, one is take the official release version and simply add/replace the new cdd files.  
+
** INSTALL_DIR/EiffelStudio : contains the complete delivery without the ec.exe binaries. There are several ways to get this, one is "patching" an official installation:
** INSTALL_DIR/gcc: the gcc directory (check out $EIFFEL_SRC/free_add_ons/gcc 'as' this)
+
*** Put the contents of the ISE_EIFFEL directory of an existing installation into INSTALL_DIR/EiffelStudio
** INSTALL_DIR/releases/gpl_version/ec.exe (the cdd version exe, obviously)
+
*** Remove the ec.exe from  INSTALL_DIR/EiffelStudio/studio/spec/windows/bin
** INSTALL_DIR/releases/enterprise_version/ec.exe (take the same ec.exe, it's a dummy for script and won't be used)
+
*** Replace/Add the cdd specific files (see list above). Watch out for the proper place the add/replace them (the above list svn-specific)
 +
** INSTALL_DIR/gcc: content of <svn-eiffel-branch>/free_add_ons/gcc
 +
** INSTALL_DIR/releases/gpl_version/ec.exe: the cdd version ec.exe
 +
** INSTALL_DIR/releases/enterprise_version/ec.exe: the cdd version ec.exe (take the same ec.exe, it's a dummy for script to work and won't be used)
  
 
* let env variable INSTALL_DIR point to this <INSTALL_DIR>
 
* let env variable INSTALL_DIR point to this <INSTALL_DIR>
* let env variable INIT_DIR point to your Delivery/scripts/windows folder (i checked out trunk)
+
* let env variable INIT_DIR point to your Delivery/scripts/windows folder
 
* finalize the "hallow" tool (Src/tools/hallow/hallow.ecf)
 
* finalize the "hallow" tool (Src/tools/hallow/hallow.ecf)
* create if not exists directory INIT_DIR/install/bin
+
* create if not exists directory %INIT_DIR%/install/bin
 
* copy content of Src/tools/hallow/EIFGENs/hallow/F_code to INIT_DIR/install/bin
 
* copy content of Src/tools/hallow/EIFGENs/hallow/F_code to INIT_DIR/install/bin
* get a proper setup.dll (from manus probably) and put it into INIT_DIR/install/binaries/x86/
+
* create if not exists directory %INIT_DIR%/install/binaries/x86
* (create directories that don't exist)
+
* get a proper setup.dll (from manus probably) and put it into %INIT_DIR%/install/binaries/x86/
* start command line, go to INIT_DIR/install/content/eiffelstudio and run:
+
* start command line, go to %INIT_DIR%/install/content/eiffelstudio and run:
 
** nmake /nologo clean
 
** nmake /nologo clean
 
** nmake /nologo
 
** nmake /nologo
 
** nmake /nologo gpl_x86
 
** nmake /nologo gpl_x86
 
* wait some minutes .... and pray :-)
 
* wait some minutes .... and pray :-)

Revision as of 02:38, 1 February 2008

List of CDD specific files

The following files have to be overwritten or added to a stock EiffelStudio release:

  • cdd base library classes -> Src/library/base/ise/support/cdd
  • the manual_test_class.cls file -> Delivery/studio/help/defaults
  • the new 16x16.png -> Delivery/studio/bitmaps/png/
  • the cdd examples folder -> Src/examples/cdd
  • Splash screens -> 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:
    • INSTALL_DIR/EiffelStudio : contains the complete delivery without the ec.exe binaries. There are several ways to get this, one is "patching" an official installation:
      • Put the contents of the ISE_EIFFEL directory of an existing installation into INSTALL_DIR/EiffelStudio
      • 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 the add/replace them (the above list svn-specific)
    • INSTALL_DIR/gcc: content of <svn-eiffel-branch>/free_add_ons/gcc
    • INSTALL_DIR/releases/gpl_version/ec.exe: the cdd version ec.exe
    • INSTALL_DIR/releases/enterprise_version/ec.exe: the cdd version ec.exe (take the same ec.exe, it's a dummy for script to work and won't be used)
  • let env variable INSTALL_DIR point to this <INSTALL_DIR>
  • let env variable INIT_DIR point to your Delivery/scripts/windows folder
  • finalize the "hallow" tool (Src/tools/hallow/hallow.ecf)
  • create if not exists directory %INIT_DIR%/install/bin
  • copy content of 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) 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 :-)